def init(self):
     super(_CurrentVehicle, self).init()
     prbVehicle = self.__checkPrebattleLockedVehicle()
     storedVehInvID = AccountSettings.getFavorites(
         BOOTCAMP_VEHICLE if self.isInBootcamp() else CURRENT_VEHICLE)
     self.selectVehicle(prbVehicle or storedVehInvID)
     self.__updateBattleRoyaleData()
 def init(self):
     self.__settings = g_settingsCore.serverSettings.getSection(SETTINGS_SECTIONS.FALLOUT, _SETTINGS_DEFAULTS)
     self.__vehicles = AccountSettings.getFavorites(FALLOUT_VEHICLES)
     self.__updateVehicles()
     g_itemsCache.onSyncCompleted += self.__onItemsResync
     if self.isEnabled() and self._proxy.isAvailable():
         g_eventDispatcher.addFalloutToCarousel()
     self._proxy.onSettingsChanged()
Exemple #3
0
 def init(self):
     g_clientUpdateManager.addCallbacks({'inventory': self.onInventoryUpdate,
      'cache.vehsLock': self.onLocksUpdate})
     game_control.g_instance.igr.onIgrTypeChanged += self.onIgrTypeChanged
     game_control.g_instance.rentals.onRentChangeNotify += self.onRentChange
     prbVehicle = self.__checkPrebattleLockedVehicle()
     storedVehInvID = AccountSettings.getFavorites(CURRENT_VEHICLE)
     self.selectVehicle(prbVehicle or storedVehInvID)
 def init(self):
     g_clientUpdateManager.addCallbacks({
         'inventory': self.onInventoryUpdate,
         'cache.vehsLock': self.onLocksUpdate
     })
     prbVehicle = self.__checkPrebattleLockedVehicle()
     storedVehInvID = AccountSettings.getFavorites(CURRENT_VEHICLE)
     self.selectVehicle(prbVehicle or storedVehInvID)
 def init(self):
     g_clientUpdateManager.addCallbacks({
         'inventory': self.onInventoryUpdate,
         'cache.vehsLock': self.onLocksUpdate
     })
     game_control.g_instance.igr.onIgrTypeChanged += self.onIgrTypeChanged
     prbVehicle = self.__checkPrebattleLockedVehicle()
     storedVehInvID = AccountSettings.getFavorites(CURRENT_VEHICLE)
     self.selectVehicle(prbVehicle or storedVehInvID)
 def init(self):
     self.__settings = g_settingsCore.serverSettings.getSection(
         SETTINGS_SECTIONS.FALLOUT, _SETTINGS_DEFAULTS)
     self.__vehicles = AccountSettings.getFavorites(FALLOUT_VEHICLES)
     self.__updateVehicles()
     g_itemsCache.onSyncCompleted += self.__onItemsResync
     if self.isEnabled() and self._proxy.isAvailable():
         g_eventDispatcher.addFalloutToCarousel()
     self._proxy.onSettingsChanged()
Exemple #7
0
 def onRequestBootcampFinish(self):
     LOG_DEBUG_DEV_BOOTCAMP('onRequestBootcampFinish')
     self.__account.base.requestBootcampQuit(
         AccountSettings.getFavorites(CURRENT_VEHICLE))
 def init(self):
     super(_CurrentVehicle, self).init()
     prbVehicle = self.__checkPrebattleLockedVehicle()
     storedVehInvID = AccountSettings.getFavorites(CURRENT_VEHICLE)
     self.selectVehicle(prbVehicle or storedVehInvID)
Exemple #9
0
 def init(self):
     super(_CurrentVehicle, self).init()
     prbVehicle = self.__checkPrebattleLockedVehicle()
     storedVehInvID = AccountSettings.getFavorites(CURRENT_VEHICLE)
     self.selectVehicle(prbVehicle or storedVehInvID)
Exemple #10
0
 def __doStopBootcamp(self):
     BigWorld.player().base.requestBootcampQuit(
         AccountSettings.getFavorites(CURRENT_VEHICLE))