| | |
| | | [Soha userNotificationCenter:center willPresentNotification:notification]; |
| | | } |
| | | |
| | | - (void)sohaDeleteAccountDelegate:(SohaUser *)user |
| | | { |
| | | NSLog(@"删除角色 callback"); |
| | | if(user) |
| | | { |
| | | NSLog(@"删除角色 ok"); |
| | | NSMutableDictionary *_dict = [NSMutableDictionary dictionaryWithObjectsAndKeys: |
| | | [NSNumber numberWithInt:S2U_DelAccount], @"code", nil]; |
| | | [self SendMessageToUnity:_dict]; |
| | | } |
| | | } |
| | | |
| | | - (void)PlatformInitFinished{ |
| | | NSLog(@"渠道初始化成功,初始化没有回调直接通知成功"); |
| | | initedState=1; |
| | |
| | | NSString *orderInfos = [strArray componentsJoinedByString:@"|"]; |
| | | |
| | | NSDictionary *_dict = [NSDictionary dictionaryWithObjectsAndKeys: |
| | | [NSNumber numberWithInt:OrderInfoCallBack], @"code", orderInfos, @"orderInfos", nil]; |
| | | [NSNumber numberWithInt:S2U_OrderInfoCallBack], @"code", orderInfos, @"orderInfos", nil]; |
| | | |
| | | [self SendMessageToUnity:_dict]; |
| | | }]; |
| | |
| | | break; |
| | | case U2S_BatteryListenStop: |
| | | break; |
| | | case U2S_DelAccount: |
| | | [Soha deleteAccount]; |
| | | break; |
| | | |
| | | } |
| | | } |