_TIME_STATS_BLOCK.addComponent(2, common.PlayerKillingTimeVO('playerKilled'))
_STATS_SORTING_VO_META = base.PropertyMeta((('iconType', 'tank', 'criteria'), ('sortDirection', 'descending', 'direction')))
_STATS_SORTING_VO_META.bind(shared.SortingBlock)
FINISH_RESULT_VO_META = base.PropertyMeta((('finishReasonStr', '', 'finishReasonLabel'), ('resultShortStr', '', 'shortResultLabel'), ('resultStr', '', 'fullResultLabel')))
FINISH_RESULT_VO_META.bind(common.RegularFinishResultBlock)
REGULAR_COMMON_STATS_BLOCK = base.StatsBlock(_COMMON_VO_META, 'common')
REGULAR_COMMON_STATS_BLOCK.addComponent(0, shared.RegularSortingBlock())
REGULAR_COMMON_STATS_BLOCK.addComponent(1, shared.WasInBattleItem('wasInBattle'))
REGULAR_COMMON_STATS_BLOCK.addComponent(2, common.ArenaDateTimeItem('arenaCreateTimeStr', _RECORD.COMMON, 'arenaCreateTime'))
REGULAR_COMMON_STATS_BLOCK.addComponent(3, common.RegularArenaFullNameItem('arenaStr'))
REGULAR_COMMON_STATS_BLOCK.addComponent(4, common.ArenaIconItem('arenaIcon', _RECORD.COMMON))
REGULAR_COMMON_STATS_BLOCK.addComponent(5, common.ArenaDurationItem('duration', _RECORD.COMMON, 'duration'))
REGULAR_COMMON_STATS_BLOCK.addComponent(6, base.StatsItem('bonusType', _RECORD.COMMON, 'bonusType'))
REGULAR_COMMON_STATS_BLOCK.addComponent(7, common.RegularFinishResultBlock())
REGULAR_COMMON_STATS_BLOCK.addComponent(8, personal.PersonalPlayerNameBlock())
REGULAR_COMMON_STATS_BLOCK.addComponent(9, personal.PersonalVehicleNamesBlock(base.ListMeta(), 'playerVehicleNames'))
REGULAR_COMMON_STATS_BLOCK.addComponent(10, personal.PersonalVehiclesBlock(base.ListMeta(), 'playerVehicles', _RECORD.PERSONAL))
REGULAR_COMMON_STATS_BLOCK.addComponent(11, _TIME_STATS_BLOCK.clone())
REGULAR_COMMON_STATS_BLOCK.addComponent(12, shared.ClientIndexItem('clientArenaIdx'))
REGULAR_COMMON_STATS_BLOCK.addComponent(13, common.TeamsUiVisibility('uiVisibility'))
REGULAR_COMMON_STATS_BLOCK.addComponent(14, common.EligibleForCrystalRewards('eligibleForCrystalRewards'))
_PERSONAL_VO_META = base.DictMeta({'isPremium': False,
 'isLegionnaire': False,
 'creditsStr': '0',
 'xpStr': '0',
 'fortResourceTotal': '',
 'efficiencyHeader': {},
 'details': [],
 'creditsData': [],
 'xpData': [],
 'resValues': [],
Exemplo n.º 2
0
# 2017.08.29 21:44:47 Støední Evropa (letní èas)
# Embedded file name: scripts/client/gui/battle_results/templates/fallout.py
from gui.battle_results.components import base
from gui.battle_results.components import common
from gui.battle_results.components import personal
from gui.battle_results.components import shared
from gui.battle_results.templates import regular
from gui.battle_results.settings import BATTLE_RESULTS_RECORD as _RECORD
regular.FINISH_RESULT_VO_META.bind(common.FalloutFinishResultBlock)
FALLOUT_COMMON_STATS_BLOCK = regular.REGULAR_COMMON_STATS_BLOCK.clone(
    0, 3, 7, 9, 10)
FALLOUT_COMMON_STATS_BLOCK.addComponent(0, shared.FalloutSortingBlock())
FALLOUT_COMMON_STATS_BLOCK.addComponent(
    3, common.FalloutArenaFullNameItem('arenaStr'))
FALLOUT_COMMON_STATS_BLOCK.addComponent(7, common.FalloutFinishResultBlock())
FALLOUT_COMMON_STATS_BLOCK.addComponent(
    9, personal.PersonalVehicleNamesBlock(base.ListMeta(),
                                          'playerVehicleNames'))
FALLOUT_COMMON_STATS_BLOCK.addComponent(
    10,
    personal.FalloutVehiclesBlock(base.ListMeta(), 'playerVehicles',
                                  _RECORD.PERSONAL))
# okay decompyling c:\Users\PC\wotmods\files\originals\res\packages\scripts\scripts\client\gui\battle_results\templates\fallout.pyc
# decompiled 1 files: 1 okay, 0 failed, 0 verify failed
# 2017.08.29 21:44:47 Støední Evropa (letní èas)