From 289cf06c44b9686d0422d3556e9bf5af7b694c19 Mon Sep 17 00:00:00 2001
From: MacBuilder <MacBuilder@secondworld.com>
Date: 星期三, 26 九月 2018 19:35:23 +0800
Subject: [PATCH] update 猫儿ios sdk接入

---
 ChannelDiff/iOS/spyxxjios/The2thWorldSDK/UniversalSDK.mm |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ChannelDiff/iOS/spyxxjios/The2thWorldSDK/UniversalSDK.mm b/ChannelDiff/iOS/spyxxjios/The2thWorldSDK/UniversalSDK.mm
index 1e35f7a..80b47b4 100644
--- a/ChannelDiff/iOS/spyxxjios/The2thWorldSDK/UniversalSDK.mm
+++ b/ChannelDiff/iOS/spyxxjios/The2thWorldSDK/UniversalSDK.mm
@@ -107,6 +107,13 @@
                                    block:^(BOOL initState, BOOL serverState) {
                                        if (initState) {
                                            NSLog(@"ServerState: %@",serverState? @"Release" : @"Debug");
+                                           NSMutableDictionary *_dict = [NSMutableDictionary dictionaryWithObjectsAndKeys:
+                                                                         [NSNumber numberWithInt:S2U_FreePlatformInitOk],@"code",nil];
+                                           [self SendMessageToUnity:_dict];
+                                       }else{
+                                           NSMutableDictionary *_dict = [NSMutableDictionary dictionaryWithObjectsAndKeys:
+                                                                         [NSNumber numberWithInt:S2U_FreePlatformInitFail],@"code",nil];
+                                           [self SendMessageToUnity:_dict];
                                        }
     }];
     

--
Gitblit v1.8.0