6.2 设置是否在副本状态

研发方可调用该接口实现是否在副本内,或副本外。

接口形式:

-(void)setInBattle:(BOOL)inBattle;

接口参数:

inBattle: BOOL ,YES or NO,必须。

接口示例:

//在副本中
  [[RNAppSocketMgr sharedInstance]setInBattle:YES];
  
  
  //不在副本中
  [[RNAppSocketMgr sharedInstance]setInBattle:NO];

Last updated

Was this helpful?