示例#1
0
 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
示例#2
0
 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()
示例#3
0
 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
示例#4
0
	def onBecomePlayer(self):
		g_playerEvents.onAccountBecomePlayer()
示例#5
0
 def onBecomePlayer(self):
     g_playerEvents.onAccountBecomePlayer()