Ejemplo n.º 1
0
 public static void UpdateOrCreateKeyValue(LootLockerGetPersistentStoragRequest data, Action <LootLockerGetPersistentStoragResponse> onComplete)
 {
     if (!CheckInitialized())
     {
         return;
     }
     LootLockerAPIManager.UpdateOrCreateKeyValue(data, onComplete);
 }
Ejemplo n.º 2
0
        public static void UpdateOrCreateKeyValue(string key, string value, Action <LootLockerGetPersistentStoragResponse> onComplete)
        {
            if (!CheckInitialized())
            {
                return;
            }
            LootLockerGetPersistentStoragRequest data = new LootLockerGetPersistentStoragRequest();

            data.AddToPayload(new LootLockerPayload {
                key = key, value = value
            });
            LootLockerAPIManager.UpdateOrCreateKeyValue(data, onComplete);
        }