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