1.0.18 feat:菜单入口支持新的小游戏
This commit is contained in:
@@ -259,7 +259,9 @@
|
||||
[self sailTapRecognizer];
|
||||
}else if([model.code isEqualToString:@"BAISHUN"]){
|
||||
[self clickGameVC:model];
|
||||
}else if([model.code isEqualToString:@"SEIZE_TREASURE"]){
|
||||
} else if ([model.code isEqualToString:@"LEADERCC"]) {
|
||||
[self clickGameVC:model];
|
||||
} else if([model.code isEqualToString:@"SEIZE_TREASURE"]){
|
||||
if ([self.hostDelegate isKindOfClass:[XPRoomViewController class]]){
|
||||
XPRoomViewController *vc = (XPRoomViewController *)self.hostDelegate;
|
||||
XPTreasureFairyViewController * fairyVC = [[XPTreasureFairyViewController alloc] initWithdelegate:self.hostDelegate];
|
||||
@@ -318,6 +320,24 @@
|
||||
}
|
||||
}
|
||||
|
||||
//-(void)clickLeaderccGameVC:(ActivityInfoModel *)model{
|
||||
// if ([self.hostDelegate isKindOfClass:[XPRoomViewController class]]){
|
||||
// MSRoomGameWebVC *vc = [[MSRoomGameWebVC alloc]initWithDelegate:self.hostDelegate gameModel:model];
|
||||
// vc.view.frame = CGRectMake(0, 0, KScreenWidth, KScreenHeight);
|
||||
// XPRoomViewController *roomVC = (XPRoomViewController *)self.hostDelegate;
|
||||
// [roomVC addChildViewController:vc];
|
||||
// XPRoomAnimationView *animationView;
|
||||
// for (id obj in self.hostDelegate.getSuperView.subviews) {
|
||||
// if ([obj isKindOfClass:[XPRoomAnimationView class]]){
|
||||
// animationView = obj;
|
||||
// break;
|
||||
// }
|
||||
// }
|
||||
// [self.hostDelegate.getSuperView addSubview:vc.view];
|
||||
// vc.view.tag = 913;
|
||||
// }
|
||||
//}
|
||||
|
||||
- (void)lookLoveTapRecognizer {
|
||||
if ([self.hostDelegate isKindOfClass:[XPRoomViewController class]]){
|
||||
XPCandyTreeViewController * candyTreeVC = [[XPCandyTreeViewController alloc] initWithDelegate:self.hostDelegate];
|
||||
|
Reference in New Issue
Block a user