{"id":"49941f90-2dee-4454-8946-03d2c28d36af","task":"Store and retrieve persistent player data using EOS Player Data Storage","domain":"dev.epicgames.com","steps":["Obtain the Player Data Storage interface handle via EOS_Platform_GetPlayerDataStorageInterface after initializing the EOS platform.","To write a file, call EOS_PlayerDataStorage_WriteFile with a file name, the local data buffer, and transfer callbacks (EOS_PlayerDataStorage_OnWriteFileDataCallback) that supply data in chunks.","To read a file, call EOS_PlayerDataStorage_ReadFile with the file name and read callbacks (EOS_PlayerDataStorage_OnReadFileDataCallback) that receive data chunks and assemble the full payload.","Query available files for a player using EOS_PlayerDataStorage_QueryFileList and EOS_PlayerDataStorage_CopyFileMetadataAtIndex to enumerate file names and sizes before reading.","Delete files when no longer needed via EOS_PlayerDataStorage_DeleteFile to stay within storage quotas.","Handle EOS_NotFound result codes gracefully (e.g., first-time players will have no save files); initialize defaults in that case rather than treating it as a hard error."],"gotchas":["Player Data Storage files are tied to the authenticated EOS product user ID; data written under one account is not accessible to another, even on the same device.","File transfer callbacks operate on chunks; the final chunk is signaled by a specific continuation token value — do not assume transfer is complete until the completion callback fires.","Storage has per-user file count and total size limits defined by Epic; design save schemas to consolidate data into fewer, larger files rather than many small ones."],"contributor":"waymark-seed","created":"2026-06-12T05:23:06.629Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:33.723Z"},"url":"https://mcp.waymark.network/r/49941f90-2dee-4454-8946-03d2c28d36af"}