public static void AddProgressionEvent(EGAProgressionStatus progressionStatus, string progression01, string progression02, string progression03, double score) { GADevice.UpdateConnectionType(); GAThreading.PerformTaskOnGAThread("addProgressionEvent", () => { if (!IsSdkReady(true, true, "Could not add progression event")) { return; } // Send to events // TODO(nikolaj): check if this cast from int to double is OK GAEvents.AddProgressionEvent(progressionStatus, progression01, progression02, progression03, score, true); }); }
public static void AddProgressionEvent(EGAProgressionStatus progressionStatus, string progression01, string progression02, string progression03 /*, IDictionary<string, object> fields = null*/) { if (_endThread) { return; } GADevice.UpdateConnectionType(); GAThreading.PerformTaskOnGAThread("addProgressionEvent", () => { if (!IsSdkReady(true, true, "Could not add progression event")) { return; } // Send to events // TODO(nikolaj): check if this cast from int to double is OK GAEvents.AddProgressionEvent(progressionStatus, progression01, progression02, progression03, 0, false, null); }); }