_PERSONAL_VEHICLE_VO_META.bind(personal.PersonalVehicleBlock)
_PERSONAL_PLAYER_NAME_VO_META = base.PropertyMeta((('playerFakeNameStr', '', 'fakeNameLabel'),
 ('playerRealNameStr', '', 'realNameLabel'),
 ('clanNameStr', '', 'clanLabel'),
 ('playerFullNameStr', '', 'fullNameLabel'),
 ('regionNameStr', '', 'regionLabel')))
_PERSONAL_PLAYER_NAME_VO_META.bind(personal.PersonalPlayerNameBlock)
_PERSONAL_PLAYER_NAME_VO_META.bind(personal.DetailsPlayerNameBlock)
_KILLER_NAME_VO_META = base.PropertyMeta((('killerFakeNameStr', '', 'fakeNameLabel'),
 ('killerRealNameStr', '', 'realNameLabel'),
 ('killerClanNameStr', '', 'clanLabel'),
 ('killerFullNameStr', '', 'fullNameLabel'),
 ('killerRegionNameStr', '', 'regionLabel')))
_KILLER_NAME_VO_META.bind(personal.KillerPlayerNameBlock)
_TIME_STATS_BLOCK = base.StatsBlock(base.ListMeta(runtime=False), 'timeStats', _RECORD.COMMON)
_TIME_STATS_BLOCK.addComponent(0, common.ArenaShortTimeVO('arenaCreateTimeOnlyStr', 'arenaCreateTime'))
_TIME_STATS_BLOCK.addComponent(1, common.ArenaDurationVO('duration', 'duration'))
_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())
Exemplo n.º 2
0
    False
}, {
    'label':
    i18n.makeString(MENU.FINALSTATISTIC_TABS_DETAILSSTATS),
    'linkage':
    'DetailsStatsViewUI',
    'viewId':
    'DetailsStatsViewUI',
    'showWndBg':
    True
}])
EPIC_TABS_BLOCK = base.StatsBlock(_EPIC_TABS_VO_META, 'tabInfo')
EPIC_TIME_STATS_BLOCK = base.StatsBlock(base.ListMeta(runtime=False),
                                        'timeStats', _RECORD.COMMON)
EPIC_TIME_STATS_BLOCK.addComponent(
    0, common.ArenaShortTimeVO('arenaCreateTimeOnlyStr', 'arenaCreateTime'))
EPIC_TIME_STATS_BLOCK.addComponent(
    1, common.ArenaDurationVO('duration', 'duration'))
EPIC_TIME_STATS_BLOCK.addNextComponent(
    common.ObjectivesReachedVO('objectivesReached'))
EPIC_TIME_STATS_BLOCK.addNextComponent(
    common.ObjectivesDestroyedVO('objectivesDestroyed'))
EPIC_TIME_STATS_BLOCK.addNextComponent(common.BasesCapturedVO('basesCaptured'))
EPIC_COMMON_STATS_BLOCK = regular.REGULAR_COMMON_STATS_BLOCK.clone(
    7, 9, 10, 11)
EPIC_COMMON_STATS_BLOCK.addComponent(
    7, common.EpicBattleBattleFinishResultBlock())
EPIC_COMMON_STATS_BLOCK.addComponent(
    9, personal.EpicVehicleNamesBlock(base.ListMeta(), 'playerVehicleNames'))
EPIC_COMMON_STATS_BLOCK.addComponent(
    10,