Esempio n. 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
Esempio n. 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
Esempio n. 3
0
 def doAction(self, action, dispatcher = None):
     if isBattleSession():
         events_dispatcher.loadBattleSessionWindow(getPrebattleType())
     else:
         events_dispatcher.loadBattleSessionList()
     return True
Esempio n. 4
0
 def doAction(self, action, dispatcher=None):
     if isBattleSession():
         events_dispatcher.loadBattleSessionWindow(getPrebattleType())
     else:
         events_dispatcher.loadBattleSessionList()
     return True