Simple key-value store scoped to the player.
Read, write, and delete named string values persisted server-side.
◆ DeleteKeyValue()
| static void LootLocker.Requests.LootLockerSDKManager.DeleteKeyValue |
( |
string |
keyToDelete, |
|
|
Action< LootLockerGetPersistentStorageResponse > |
onComplete, |
|
|
string |
forPlayerWithUlid = null |
|
) |
| |
|
inlinestatic |
Delete a key from the player storage for the currently active player.
Note: The Player Metadata feature will over time replace Player Persistent Storage. If you are not already deeply integrated with the Player Persistent Storage in your game, consider moving to Player Metadata.
- Parameters
-
| keyToDelete | The key/value key(name) to delete |
| onComplete | onComplete Action for handling the response of type LootLockerGetPersistentStorageResponse |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
◆ GetEntirePersistentStorage() [1/2]
| static void LootLocker.Requests.LootLockerSDKManager.GetEntirePersistentStorage |
( |
Action< LootLockerGetPersistentStorageResponse > |
onComplete, |
|
|
string |
forPlayerWithUlid = null |
|
) |
| |
|
inlinestatic |
Get the player storage for the currently active player (key/values).
Note: The Player Metadata feature will over time replace Player Persistent Storage. If you are not already deeply integrated with the Player Persistent Storage in your game, consider moving to Player Metadata.
- Parameters
-
| onComplete | onComplete Action for handling the response of type LootLockerGetPersistentStorageResponse |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
◆ GetEntirePersistentStorage() [2/2]
| static void LootLocker.Requests.LootLockerSDKManager.GetEntirePersistentStorage |
( |
Action< LootLockerGetPersistentStorageResponseDictionary > |
onComplete, |
|
|
string |
forPlayerWithUlid = null |
|
) |
| |
|
inlinestatic |
Get the player storage as a Dictionary<string, string> for the currently active player (key/values).
Note: The Player Metadata feature will over time replace Player Persistent Storage. If you are not already deeply integrated with the Player Persistent Storage in your game, consider moving to Player Metadata.
- Parameters
-
| onComplete | onComplete Action for handling the response of type LootLockerGetPersistentStorageResponseDictionary |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
◆ GetOtherPlayersPublicKeyValuePairs()
| static void LootLocker.Requests.LootLockerSDKManager.GetOtherPlayersPublicKeyValuePairs |
( |
string |
otherPlayerId, |
|
|
Action< LootLockerGetPersistentStorageResponse > |
onComplete, |
|
|
string |
forPlayerWithUlid = null |
|
) |
| |
|
inlinestatic |
Get the public player storage(key/values) for a specific player.
Note: The Player Metadata feature will over time replace Player Persistent Storage. If you are not already deeply integrated with the Player Persistent Storage in your game, consider moving to Player Metadata.
- Parameters
-
| otherPlayerId | The ID of the player to retrieve the public ley/values for |
| onComplete | onComplete Action for handling the response of type LootLockerGetPersistentStorageResponse |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
◆ GetSingleKeyPersistentStorage()
| static void LootLocker.Requests.LootLockerSDKManager.GetSingleKeyPersistentStorage |
( |
string |
key, |
|
|
Action< LootLockerGetPersistentSingle > |
onComplete, |
|
|
string |
forPlayerWithUlid = null |
|
) |
| |
|
inlinestatic |
Get a specific key from the player storage for the currently active player.
Note: The Player Metadata feature will over time replace Player Persistent Storage. If you are not already deeply integrated with the Player Persistent Storage in your game, consider moving to Player Metadata.
- Parameters
-
| key | Name of the key |
| onComplete | onComplete Action for handling the response of type LootLockerGetPersistentSingle |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
◆ UpdateOrCreateKeyValue() [1/3]
| static void LootLocker.Requests.LootLockerSDKManager.UpdateOrCreateKeyValue |
( |
LootLockerGetPersistentStorageRequest |
data, |
|
|
Action< LootLockerGetPersistentStorageResponse > |
onComplete, |
|
|
string |
forPlayerWithUlid = null |
|
) |
| |
|
inlinestatic |
Update or create multiple key/value pairs in the player storage for the currently active player.
Note: The Player Metadata feature will over time replace Player Persistent Storage. If you are not already deeply integrated with the Player Persistent Storage in your game, consider moving to Player Metadata.
- Parameters
-
| data | A LootLockerGetPersistentStorageRequest with multiple keys |
| onComplete | onComplete Action for handling the response of type LootLockerGetPersistentStorageResponse |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
◆ UpdateOrCreateKeyValue() [2/3]
| static void LootLocker.Requests.LootLockerSDKManager.UpdateOrCreateKeyValue |
( |
string |
key, |
|
|
string |
value, |
|
|
Action< LootLockerGetPersistentStorageResponse > |
onComplete, |
|
|
string |
forPlayerWithUlid = null |
|
) |
| |
|
inlinestatic |
Update or create a key/value pair in the player storage for the currently active player.
Note: The Player Metadata feature will over time replace Player Persistent Storage. If you are not already deeply integrated with the Player Persistent Storage in your game, consider moving to Player Metadata.
- Parameters
-
| key | Name of the key |
| value | Value of the key |
| onComplete | onComplete Action for handling the response of type LootLockerGetPersistentStorageResponse |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
◆ UpdateOrCreateKeyValue() [3/3]
| static void LootLocker.Requests.LootLockerSDKManager.UpdateOrCreateKeyValue |
( |
string |
key, |
|
|
string |
value, |
|
|
bool |
isPublic, |
|
|
Action< LootLockerGetPersistentStorageResponse > |
onComplete, |
|
|
string |
forPlayerWithUlid = null |
|
) |
| |
|
inlinestatic |
Update or create a key/value pair in the player storage for the currently active player.
Note: The Player Metadata feature will over time replace Player Persistent Storage. If you are not already deeply integrated with the Player Persistent Storage in your game, consider moving to Player Metadata.
- Parameters
-
| key | Name of the key |
| value | Value of the key |
| isPublic | Is the key public? |
| onComplete | onComplete Action for handling the response of type LootLockerGetPersistentStorageResponse |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
|
| static void | LootLocker.Requests.LootLockerSDKManager.GetEntirePersistentStorage (Action< LootLockerGetPersistentStorageResponse > onComplete, string forPlayerWithUlid=null) |
| | Get the player storage for the currently active player (key/values).
|
| |
| static void | LootLocker.Requests.LootLockerSDKManager.GetEntirePersistentStorage (Action< LootLockerGetPersistentStorageResponseDictionary > onComplete, string forPlayerWithUlid=null) |
| | Get the player storage as a Dictionary<string, string> for the currently active player (key/values).
|
| |
| static void | LootLocker.Requests.LootLockerSDKManager.GetSingleKeyPersistentStorage (string key, Action< LootLockerGetPersistentSingle > onComplete, string forPlayerWithUlid=null) |
| | Get a specific key from the player storage for the currently active player.
|
| |
| static void | LootLocker.Requests.LootLockerSDKManager.UpdateOrCreateKeyValue (string key, string value, Action< LootLockerGetPersistentStorageResponse > onComplete, string forPlayerWithUlid=null) |
| | Update or create a key/value pair in the player storage for the currently active player.
|
| |
| static void | LootLocker.Requests.LootLockerSDKManager.UpdateOrCreateKeyValue (string key, string value, bool isPublic, Action< LootLockerGetPersistentStorageResponse > onComplete, string forPlayerWithUlid=null) |
| | Update or create a key/value pair in the player storage for the currently active player.
|
| |
| static void | LootLocker.Requests.LootLockerSDKManager.UpdateOrCreateKeyValue (LootLockerGetPersistentStorageRequest data, Action< LootLockerGetPersistentStorageResponse > onComplete, string forPlayerWithUlid=null) |
| | Update or create multiple key/value pairs in the player storage for the currently active player.
|
| |
| static void | LootLocker.Requests.LootLockerSDKManager.DeleteKeyValue (string keyToDelete, Action< LootLockerGetPersistentStorageResponse > onComplete, string forPlayerWithUlid=null) |
| | Delete a key from the player storage for the currently active player.
|
| |
| static void | LootLocker.Requests.LootLockerSDKManager.GetOtherPlayersPublicKeyValuePairs (string otherPlayerId, Action< LootLockerGetPersistentStorageResponse > onComplete, string forPlayerWithUlid=null) |
| | Get the public player storage(key/values) for a specific player.
|
| |