Skip to content

Commit c80c9a2

Browse files
JohannesLootkirre-bylund
authored andcommitted
Removed leaking code
1 parent 5eb85a1 commit c80c9a2

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

Runtime/Game/LootLockerSDKManager.cs

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2374,25 +2374,6 @@ public static void UpdateOrCreateKeyValue(Dictionary<string,string> keyValuePair
23742374
LootLockerAPIManager.UpdateOrCreateKeyValue(data, onComplete);
23752375
}
23762376

2377-
/// <summary>
2378-
/// Update or create a key/value pair in the player storage for the currently active player.
2379-
/// </summary>
2380-
/// <param name="key">Name of the key</param>
2381-
/// <param name="value">Value of the key</param>
2382-
/// <param name="isPublic">Is the key public?</param>
2383-
/// <param name="onComplete">onComplete Action for handling the response of type LootLockerGetPersistentStoragResponse</param>
2384-
public static void UpdateOrCreateKeyValue(string key, string value, bool isPublic, Action<LootLockerGetPersistentStoragResponse> onComplete)
2385-
{
2386-
if (!CheckInitialized())
2387-
{
2388-
onComplete?.Invoke(LootLockerResponseFactory.SDKNotInitializedError<LootLockerGetPersistentStoragResponse>());
2389-
return;
2390-
}
2391-
LootLockerGetPersistentStorageRequest data = new LootLockerGetPersistentStorageRequest();
2392-
data.AddToPayload(new LootLockerPayload { key = key, value = value, is_public = isPublic });
2393-
LootLockerAPIManager.UpdateOrCreateKeyValue(data, onComplete);
2394-
}
2395-
23962377
/// <summary>
23972378
/// Update or create multiple key/value pairs in the player storage for the currently active player.
23982379
/// </summary>

0 commit comments

Comments
 (0)