public void onStateSyncFinished(string message) { SoomlaUtils.LogDebug(TAG, "SOOMLA/UNITY onStateSyncFinished: " + message); JSONObject eventJSON = new JSONObject(message); List <JSONObject> changedComponentsJSON = eventJSON["changedComponents"].list; List <string> changedComponents = new List <string>(); foreach (var changedComponentJSON in changedComponentsJSON) { changedComponents.Add(changedComponentJSON.str); } List <JSONObject> failedComponentsJSON = eventJSON["failedComponents"].list; List <string> failedComponents = new List <string>(); foreach (var failedComponentJSON in failedComponentsJSON) { failedComponents.Add(failedComponentJSON.str); } GrowSync.HandleStateSyncFinised(); HighwayEvents.OnStateSyncFinished(changedComponents, failedComponents); }
public void onStateResetFinished() { SoomlaUtils.LogDebug(TAG, "SOOMLA/UNITY onStateResetFinished"); GrowSync.HandleStateSyncFinised(); HighwayEvents.OnStateResetFinished(); }