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); }
public static void OnUserAuthConflict(IntPtr onConflictActionPtr, string conflictUserJson) { var conflictUser = new ConflictUser().ParseFromJson(conflictUserJson.ToDict()); IOSUtils.TriggerCallback(onConflictActionPtr, conflictUser); }
public static void IntCallback(IntPtr actionPtr, int result) { GetSocialDebugLogger.D("IntCallback: " + result); IOSUtils.TriggerCallback(actionPtr, result); }
public static void BoolCallback(IntPtr actionPtr, bool result) { GetSocialDebugLogger.D("BoolCallback: " + result); IOSUtils.TriggerCallback(actionPtr, result); }
public static void StringCallback(IntPtr actionPtr, string result) { GetSocialDebugLogger.D("StringResultCallaback: " + result); IOSUtils.TriggerCallback(actionPtr, result); }