예제 #1
0
            private void onFailure_Event(AndroidJavaObject inResponse)
            {
                GenieResponseWrapper response = new GenieResponseWrapper(inResponse);

                if (response.getError() == kError_GenieNotInstalled)
                {
                    Genie.instance.OnGenieNotInstalled();
                }
                else
                {
                    Assert.Fail("Error on DataExport: {0}", response.getError());
                }
            }
예제 #2
0
 public override void Process(GenieResponseWrapper inWrapper)
 {
     if (inWrapper.getStatus() != "successful")
     {
         Debug.LogFormat("Sending this event was unsuccessful: {0}", inWrapper.getError());
     }
     else
     {
         Logger.Log("Send was successful!");
     }
 }
예제 #3
0
 public override void Process(GenieResponseWrapper inWrapper)
 {
     Genie.I.IsSyncing = false;
     if (inWrapper.getStatus() != "successful")
     {
         Debug.LogWarningFormat("Unable to sync with Genie: {0}", inWrapper.getError());
     }
     else
     {
         Logger.Log("Sync was successful!");
     }
 }