Exemple #1
0
 def hasLockMode(self):
     isBS = prb_control.isBattleSession()
     if isBS:
         isBSVehicleLockMode = bool(prb_control.getPrebattleSettings()[PREBATTLE_SETTING_NAME.VEHICLE_LOCK_MODE])
         if isBSVehicleLockMode and self.clanLock > 0:
             return True
     return False
Exemple #2
0
 def hasLockMode(self):
     isBS = prb_control.isBattleSession()
     if isBS:
         isBSVehicleLockMode = bool(prb_control.getPrebattleSettings()[PREBATTLE_SETTING_NAME.VEHICLE_LOCK_MODE])
         if isBSVehicleLockMode and self.clanLock > 0:
             return True
     return False
 def doAction(self, action, dispatcher = None):
     if isBattleSession():
         events_dispatcher.loadBattleSessionWindow(getPrebattleType())
     else:
         events_dispatcher.loadBattleSessionList()
     return True
 def doAction(self, action, dispatcher=None):
     if isBattleSession():
         events_dispatcher.loadBattleSessionWindow(getPrebattleType())
     else:
         events_dispatcher.loadBattleSessionList()
     return True