Creators can access stored player data, both in normal Persistant Storage tables and Shared Data Keys when players are offline using Offline Storage. This data can searched and loaded for players by ID, but not changed unless the player is online.
Accessing Player Data¶
Storage.GetOfflinePlayerData function allows you to access stored player data tables the same way you would for online players. You will not be able to modify this data, however, until players are connected to the game again with
Storage.GetSharedOfflinePlayerData allows you to access data on Shared Data Tables between games for offline players. To access this you will need a reference to the data table key and the player id.
Finding Player ID's¶
Finding player ID's is not as direct when they are offline, and cannot be found through the
Using a Leaderboard¶
Leaderboards players' names, id's and a score, and can be used as a way to keep track of players whose data will be needed later for a specific scenario. See the Leaderboard Reference for more information about using them.