def onBecomePlayer(self): LOG_DEBUG('Account.onBecomePlayer()') self.isPlayer = True self.databaseID = None self.inputHandler = AccountInputHandler() BigWorld.clearAllSpaces() self.syncData.onAccountBecomePlayer() self.inventory.onAccountBecomePlayer() self.stats.onAccountBecomePlayer() self.questProgress.onAccountBecomePlayer() self.trader.onAccountBecomePlayer() self.shop.onAccountBecomePlayer() self.dossierCache.onAccountBecomePlayer() self.battleResultsCache.onAccountBecomePlayer() self.intUserSettings.onProxyBecomePlayer() self.prebattleInvitations.onProxyBecomePlayer() self.clubs.onAccountBecomePlayer() self.goodies.onAccountBecomePlayer() chatManager.switchPlayerProxy(self) events.onAccountBecomePlayer() BigWorld.target.source = BigWorld.MouseTargetingMatrix() BigWorld.target.maxDistance = 700 BigWorld.target.skeletonCheckEnabled = True BigWorld.target.caps() BigWorld.target.isEnabled = True return
def onBecomePlayer(self): LOG_DEBUG('Account.onBecomePlayer()') self.isPlayer = True self.databaseID = None self.inputHandler = AccountInputHandler() BigWorld.resetEntityManager(True, False) BigWorld.clearAllSpaces() self.syncData.onAccountBecomePlayer() self.inventory.onAccountBecomePlayer() self.stats.onAccountBecomePlayer() self.questProgress.onAccountBecomePlayer() self.trader.onAccountBecomePlayer() self.shop.onAccountBecomePlayer() self.dossierCache.onAccountBecomePlayer() self.battleResultsCache.onAccountBecomePlayer() self.intUserSettings.onProxyBecomePlayer() chatManager.switchPlayerProxy(self) events.onAccountBecomePlayer()
def onBecomePlayer(self): LOG_DEBUG('Account.onBecomePlayer()') self.isPlayer = True self.databaseID = None self.inputHandler = AccountInputHandler() BigWorld.resetEntityManager(True, False) BigWorld.clearAllSpaces() self.syncData.onAccountBecomePlayer() self.inventory.onAccountBecomePlayer() self.stats.onAccountBecomePlayer() self.questProgress.onAccountBecomePlayer() self.trader.onAccountBecomePlayer() self.shop.onAccountBecomePlayer() self.dossierCache.onAccountBecomePlayer() self.battleResultsCache.onAccountBecomePlayer() self.intUserSettings.onProxyBecomePlayer() chatManager.switchPlayerProxy(self) events.onAccountBecomePlayer() yield VoiceChatInterface.g_instance.initialize(self.serverSettings['voipDomain']) yield VoiceChatInterface.g_instance.requestCaptureDevices() return
def onBecomePlayer(self): g_playerEvents.onAccountBecomePlayer()