Пример #1
0
 def _addArenaExtraData(self, arenaDP):
     winText = text_styles.main(FALLOUT.BATTLELOADING_MULTITEAM_WINTEXT)
     arenaInfoData = {'mapName': toUpper(arena_info.getArenaType().name),
      'battleTypeLocaleStr': '#menu:loading/battleTypes/%d' % arena_info.getArenaGuiType(),
      'winText': winText,
      'battleTypeFrameLabel': arena_info.getArenaGuiTypeLabel()}
     self.as_setArenaInfoS(arenaInfoData)
Пример #2
0
 def __createQuery(self, presence):
     query = PresenceQuery(presence)
     item = g_preDefinedHosts.byName(connectionManager.serverUserName)
     if item.url:
         query.setGameServerHost(item.url)
     if self.__scope == MESSENGER_SCOPE.BATTLE and presence == PRESENCE.DND:
         query.setArenaGuiLabel(getArenaGuiTypeLabel())
     return query
Пример #3
0
 def __createQuery(self, presence):
     from gui.battle_control.arena_info import getArenaGuiTypeLabel
     query = PresenceQuery(presence)
     item = g_preDefinedHosts.byName(connectionManager.serverUserName)
     if item.url:
         query.setGameServerHost(item.url)
     if self.__scope == MESSENGER_SCOPE.BATTLE and presence == PRESENCE.DND:
         query.setArenaGuiLabel(getArenaGuiTypeLabel())
     return query