Exemplo n.º 1
0
 def _showWindow(self, notification, arenaUniqueID):
     arenaUniqueID = long(arenaUniqueID)
     results = yield BattleResultsGetter(arenaUniqueID).request()
     if results.success:
         shared_events.showBattleResultsFromData(results.auxData)
     else:
         self._updateNotification(notification)
Exemplo n.º 2
0
 def _showWindow(self, notification, arenaUniqueID):
     arenaUniqueID = long(arenaUniqueID)
     results = yield BattleResultsGetter(arenaUniqueID).request()
     if results.success:
         shared_events.showBattleResultsFromData(results.auxData)
     else:
         self._updateNotification(notification)
Exemplo n.º 3
0
 def _showWindow(self, notification, arenaUniqueID):
     arenaUniqueID = long(arenaUniqueID)
     Waiting.show('loadStats')
     results = yield DeprecatedStatsRequester().getBattleResults(long(arenaUniqueID))
     Waiting.hide('loadStats')
     if results:
         shared_events.showBattleResultsFromData(results)
     else:
         self._updateNotification(notification)
Exemplo n.º 4
0
 def _showWindow(self, notification, arenaUniqueID):
     arenaUniqueID = long(arenaUniqueID)
     Waiting.show('loadStats')
     results = yield DeprecatedStatsRequester().getBattleResults(long(arenaUniqueID))
     Waiting.hide('loadStats')
     if results:
         shared_events.showBattleResultsFromData(results)
     else:
         self._updateNotification(notification)