To view Player storage in the web console, go to the player and select the storage tab. From here it's possible to view and edit the data for the player.
Retrieve Entire Player Storage From Game
LootLockerSDKManager.GetEntirePersistentStorage((response) =>{if (response.success) {Debug.Log("Successfully retrieved player storage: "+response.payload.Length); } else {Debug.Log("Error getting player storage"); }});
To update or create multiple keys at the same time
LootLockerGetPersistentStorageRequest data =newLootLockerGetPersistentStorageRequest();data.AddToPayload(newLootLockerPayload { key ="some-key", value ="Some new value" });data.AddToPayload(newLootLockerPayload { key ="some-other-key", value ="Some other new value" });LootLockerSDKManager.UpdateOrCreateKeyValue(data, (getPersistentStoragResponse) =>{if (getPersistentStoragResponse.success) {Debug.Log("Successfully updated player storage"); }else {Debug.Log("Error updating player storage"); }});
LootLockerSDKManager.DeleteKeyValue("some-key", (getPersistentStoragResponse) =>{if (getPersistentStoragResponse.success) {Debug.Log("Successfully removed key from player storage"); }else {Debug.Log("Error removing key from player storage"); }});
For this you need the public UID of the other player.
LootLockerSDKManager.GetOtherPlayersPublicKeyValuePairs("92AR9254", (response) =>{if (response.success) {Debug.Log("Successfully retrieved storage for other player "+response.payload.Length); }else {Debug.Log("Error retrieving storage for other player"); }});