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)
Exemple #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