static void GetObjectsDictionaryCallback <TValue>(IntPtr actionPtr, string json) where TValue : IConvertableFromNative <TValue>, new()
        {
            var result = GSJsonUtils.ParseDictionary <PublicUser>(json);

            IOSUtils.TriggerCallback(actionPtr, result);
        }
        static void GetObjectsListCallback <T>(IntPtr actionPtr, string json) where T : IConvertableFromNative <T>, new()
        {
            var result = GSJsonUtils.ParseList <T>(json);

            IOSUtils.TriggerCallback(actionPtr, result);
        }
Beispiel #3
0
        public static void OnUserAuthConflict(IntPtr onConflictActionPtr, string conflictUserJson)
        {
            var conflictUser = new ConflictUser().ParseFromJson(conflictUserJson.ToDict());

            IOSUtils.TriggerCallback(onConflictActionPtr, conflictUser);
        }
Beispiel #4
0
 public static void IntCallback(IntPtr actionPtr, int result)
 {
     GetSocialDebugLogger.D("IntCallback: " + result);
     IOSUtils.TriggerCallback(actionPtr, result);
 }
Beispiel #5
0
 public static void BoolCallback(IntPtr actionPtr, bool result)
 {
     GetSocialDebugLogger.D("BoolCallback: " + result);
     IOSUtils.TriggerCallback(actionPtr, result);
 }
Beispiel #6
0
 public static void StringCallback(IntPtr actionPtr, string result)
 {
     GetSocialDebugLogger.D("StringResultCallaback: " + result);
     IOSUtils.TriggerCallback(actionPtr, result);
 }