企业包版本修改 此commit置顶 2.0.0
This commit is contained in:
@@ -214,6 +214,10 @@
|
|||||||
[XPRoomViewController openRoom:roomUid viewController:self];
|
[XPRoomViewController openRoom:roomUid viewController:self];
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
if(code == 10108){
|
||||||
|
[self showRealNameAuthenticationTipsAlertView];
|
||||||
|
return;
|
||||||
|
}
|
||||||
[self showErrorToast:msg];
|
[self showErrorToast:msg];
|
||||||
}
|
}
|
||||||
} uid:roomUid intoUid:roomUid];
|
} uid:roomUid intoUid:roomUid];
|
||||||
|
@@ -359,6 +359,7 @@
|
|||||||
* @param dataJson {}
|
* @param dataJson {}
|
||||||
*/
|
*/
|
||||||
-(void)onGetGameViewInfo:(id<ISudFSMStateHandle>)handle dataJson:(NSString*)dataJson {
|
-(void)onGetGameViewInfo:(id<ISudFSMStateHandle>)handle dataJson:(NSString*)dataJson {
|
||||||
|
|
||||||
CGRect rect = [[UIScreen mainScreen] bounds];
|
CGRect rect = [[UIScreen mainScreen] bounds];
|
||||||
CGFloat scale = [[UIScreen mainScreen] nativeScale];
|
CGFloat scale = [[UIScreen mainScreen] nativeScale];
|
||||||
|
|
||||||
@@ -387,13 +388,23 @@
|
|||||||
NSMutableDictionary *dict = [[NSMutableDictionary alloc] init];
|
NSMutableDictionary *dict = [[NSMutableDictionary alloc] init];
|
||||||
dict[@"ret_code"] = @(0);
|
dict[@"ret_code"] = @(0);
|
||||||
dict[@"ret_msg"] = @"return form APP onGetGameCfg";
|
dict[@"ret_msg"] = @"return form APP onGetGameCfg";
|
||||||
|
if(self.currentmgId == 1704460412809043970){
|
||||||
dict[@"ui"] = @{
|
dict[@"ui"] = @{
|
||||||
@"join_btn" : @{@"custom": @(YES), @"hide": @(NO)},//加入游戏
|
@"join_btn" : @{@"custom": @(YES), @"hide": @(NO)},//加入游戏
|
||||||
@"start_btn" : @{@"custom": @(YES), @"hide": @(NO)},//开始游戏
|
@"start_btn" : @{@"custom": @(YES), @"hide": @(NO)},//开始游戏
|
||||||
@"lobby_players" : @{@"custom": @(YES), @"hide": @(NO)},//游戏中坑位点击
|
@"lobby_players" : @{@"custom": @(YES), @"hide": @(NO)},//游戏中坑位点击
|
||||||
@"level" : @{@"custom": @(YES), @"hide" : @(YES)},//段位信息
|
@"level" : @{@"custom": @(YES), @"hide" : @(YES),},////段位信息
|
||||||
|
@"game_bg" : @{@"hide":@(YES)}///背景
|
||||||
};
|
};
|
||||||
|
}else{
|
||||||
|
dict[@"ui"] = @{
|
||||||
|
@"join_btn" : @{@"custom": @(YES), @"hide": @(NO)},//加入游戏
|
||||||
|
@"start_btn" : @{@"custom": @(YES), @"hide": @(NO)},//开始游戏
|
||||||
|
@"lobby_players" : @{@"custom": @(YES), @"hide": @(NO)},//游戏中坑位点击
|
||||||
|
@"level" : @{@"custom": @(YES), @"hide" : @(YES),},////段位信息
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
NSString *dataJsonRet = @"";
|
NSString *dataJsonRet = @"";
|
||||||
NSData *dataJsonData = [NSJSONSerialization dataWithJSONObject:dict options:NSJSONWritingPrettyPrinted error:nil];
|
NSData *dataJsonData = [NSJSONSerialization dataWithJSONObject:dict options:NSJSONWritingPrettyPrinted error:nil];
|
||||||
if (dataJsonData != nil) {
|
if (dataJsonData != nil) {
|
||||||
|
Reference in New Issue
Block a user