예제 #1
0
 ('damagedWhileEnemyMoving', int, 0, None, 'sum', ENTRY_TYPE.VEHICLE_SELF),
 ('committedSuicide', bool, False, None, 'max', ENTRY_TYPE.VEHICLE_SELF),
 ('crystal', int, 0, None, 'sum', ENTRY_TYPE.VEHICLE_SELF),
 ('eventCoin', int, 0, None, 'sum', ENTRY_TYPE.VEHICLE_SELF),
 ('bpcoin', int, 0, None, 'sum', ENTRY_TYPE.VEHICLE_SELF),
 ('piggyBank', int, 0, None, 'sum', ENTRY_TYPE.VEHICLE_SELF),
 ('eventCredits', int, 0, None, 'sum', ENTRY_TYPE.VEHICLE_SELF),
 ('eventXP', int, 0, None, 'sum', ENTRY_TYPE.VEHICLE_SELF),
 ('eventFreeXP', int, 0, None, 'sum', ENTRY_TYPE.VEHICLE_SELF),
 ('eventTMenXP', int, 0, None, 'sum', ENTRY_TYPE.VEHICLE_SELF),
 ('eventGold', int, 0, None, 'sum', ENTRY_TYPE.VEHICLE_SELF),
 ('eventCrystal', int, 0, None, 'sum', ENTRY_TYPE.VEHICLE_SELF),
 ('eventEventCoin', int, 0, None, 'sum', ENTRY_TYPE.VEHICLE_SELF),
 ('eventBpcoin', int, 0, None, 'sum', ENTRY_TYPE.VEHICLE_SELF),
 ('originalCredits', int, 0, None, 'sum', ENTRY_TYPE.VEHICLE_SELF),
 ('creditsReplay', str, '', ValueReplayPacker(), 'skip',
  ENTRY_TYPE.VEHICLE_SELF),
 ('originalXP', int, 0, None, 'sum', ENTRY_TYPE.VEHICLE_SELF),
 ('xpReplay', str, '', ValueReplayPacker(), 'skip',
  ENTRY_TYPE.VEHICLE_SELF),
 ('originalFreeXP', int, 0, None, 'sum', ENTRY_TYPE.VEHICLE_SELF),
 ('freeXPReplay', str, '', ValueReplayPacker(), 'skip',
  ENTRY_TYPE.VEHICLE_SELF),
 ('originalTMenXP', int, 0, None, 'sum', ENTRY_TYPE.VEHICLE_SELF),
 ('tmenXPReplay', str, '', ValueReplayPacker(), 'skip',
  ENTRY_TYPE.VEHICLE_SELF),
 ('tmenXP', int, 0, None, 'sum', ENTRY_TYPE.VEHICLE_SELF),
 ('originalGold', int, 0, None, 'sum', ENTRY_TYPE.VEHICLE_SELF),
 ('goldReplay', str, '', ValueReplayPacker(), 'skip',
  ENTRY_TYPE.VEHICLE_SELF),
 ('gold', int, 0, None, 'sum', ENTRY_TYPE.VEHICLE_SELF),
 ('eventBpcoin',
  int,
  0,
  None,
  'sum',
  ENTRY_TYPE.VEHICLE_SELF),
 ('originalCredits',
  int,
  0,
  None,
  'sum',
  ENTRY_TYPE.VEHICLE_SELF),
 ('creditsReplay',
  str,
  '',
  ValueReplayPacker(),
  'skip',
  ENTRY_TYPE.VEHICLE_SELF),
 ('originalXP',
  int,
  0,
  None,
  'sum',
  ENTRY_TYPE.VEHICLE_SELF),
 ('xpReplay',
  str,
  '',
  ValueReplayPacker(),
  'skip',
  ENTRY_TYPE.VEHICLE_SELF),
 ('originalFreeXP',
예제 #3
0
                                    ('PM2Progress', dict, {}, None, 'skip'))
_PRIVATE_EVENT_RESULTS = Meta(
    ('eventCredits', int, 0, None, 'sum'), ('eventXP', int, 0, None, 'sum'),
    ('eventFreeXP', int, 0, None, 'sum'), ('eventTMenXP', int, 0, None, 'sum'),
    ('eventGold', int, 0, None, 'sum'), ('eventCrystal', int, 0, None, 'sum'))
_AVATAR_DELETE_ME = Meta(
    ('credits', int, 0, None, 'skip'), ('xp', int, 0, None, 'skip'),
    ('freeXP', int, 0, None, 'skip'), ('crystal', int, 0, None, 'skip'))
AVATAR_CELL_RESULTS = _AVATAR_CELL_RESULTS_PUBLIC + _AVATAR_CELL_RESULTS_PRIVATE + _AVATAR_CELL_RESULTS_SERVER
AVATAR_BASE_RESULTS = AVATAR_CELL_RESULTS + _AVATAR_BASE_PUBLIC_RESULTS + _AVATAR_BASE_SERVER_RESULTS + _AVATAR_BASE_PRIVATE_RESULTS
AVATAR_PUBLIC_RESULTS = _AVATAR_CELL_RESULTS_PUBLIC + _AVATAR_BASE_PUBLIC_RESULTS
AVATAR_FULL_RESULTS = _AVATAR_CELL_RESULTS_PUBLIC + _AVATAR_CELL_RESULTS_PRIVATE + _AVATAR_BASE_PUBLIC_RESULTS + _AVATAR_BASE_PRIVATE_RESULTS + _AVATAR_FULL_RESULTS_PRIVATE + _PRIVATE_EVENT_RESULTS + _AVATAR_DELETE_ME
VEH_PUBLIC_RESULTS = _VEH_CELL_RESULTS_PUBLIC + _VEH_BASE_RESULTS_PUBLIC
VEH_FULL_RESULTS_UPDATE = Meta(
    ('originalCredits', int, 0, None, 'sum'),
    ('creditsReplay', str, '', ValueReplayPacker(), 'skip'),
    ('originalXP', int, 0, None, 'sum'),
    ('xpReplay', str, '', ValueReplayPacker(), 'skip'),
    ('originalFreeXP', int, 0, None, 'sum'),
    ('freeXPReplay', str, '', ValueReplayPacker(), 'skip'),
    ('originalTMenXP', int, 0, None, 'sum'),
    ('tmenXPReplay', str, '', ValueReplayPacker(), 'skip'),
    ('tmenXP', int, 0, None, 'sum'), ('originalGold', int, 0, None, 'sum'),
    ('goldReplay', str, '', ValueReplayPacker(), 'skip'),
    ('gold', int, 0, None, 'sum'), ('originalCrystal', int, 0, None, 'sum'),
    ('crystalReplay', str, '', ValueReplayPacker(), 'skip'),
    ('factualXP', int, 0, None, 'sum'), ('factualFreeXP', int, 0, None, 'sum'),
    ('factualCredits', int, 0, None, 'sum'),
    ('subtotalCredits', int, 0, None, 'sum'),
    ('subtotalXP', int, 0, None, 'sum'),
    ('subtotalFreeXP', int, 0, None, 'sum'),
_PRIVATE_EVENT_RESULTS = Meta(
    ('eventCredits', int, 0, None, 'sum'), ('eventXP', int, 0, None, 'sum'),
    ('eventFreeXP', int, 0, None, 'sum'), ('eventTMenXP', int, 0, None, 'sum'),
    ('eventGold', int, 0, None, 'sum'),
    ('eventFortResource', int, 0, None, 'sum'))
_AVATAR_DELETE_ME = Meta(('credits', int, 0, None, 'skip'),
                         ('xp', int, 0, None, 'skip'),
                         ('freeXP', int, 0, None, 'skip'))
AVATAR_CELL_RESULTS = _AVATAR_CELL_RESULTS_PUBLIC + _AVATAR_CELL_RESULTS_PRIVATE
AVATAR_BASE_RESULTS = AVATAR_CELL_RESULTS + _AVATAR_BASE_PUBLIC_RESULTS + _AVATAR_BASE_SERVER_RESULTS + _AVATAR_BASE_PRIVATE_RESULTS
AVATAR_PUBLIC_RESULTS = _AVATAR_CELL_RESULTS_PUBLIC + _AVATAR_BASE_PUBLIC_RESULTS
AVATAR_FULL_RESULTS = AVATAR_CELL_RESULTS + _AVATAR_BASE_PUBLIC_RESULTS + _AVATAR_BASE_PRIVATE_RESULTS + _AVATAR_FULL_RESULTS_PRIVATE + _PRIVATE_EVENT_RESULTS + _AVATAR_DELETE_ME
VEH_PUBLIC_RESULTS = _VEH_CELL_RESULTS_PUBLIC + _VEH_BASE_RESULTS_PUBLIC
VEH_FULL_RESULTS_UPDATE = Meta(
    ('originalCredits', int, 0, None, 'sum'),
    ('creditsReplay', str, '', ValueReplayPacker(), 'skip'),
    ('originalXP', int, 0, None, 'sum'),
    ('xpReplay', str, '', ValueReplayPacker(), 'skip'),
    ('originalFreeXP', int, 0, None, 'sum'),
    ('freeXPReplay', str, '', ValueReplayPacker(), 'skip'),
    ('originalTMenXP', int, 0, None, 'sum'),
    ('tmenXPReplay', str, '', ValueReplayPacker(), 'skip'),
    ('tmenXP', int, 0, None, 'sum'), ('originalGold', int, 0, None, 'sum'),
    ('goldReplay', str, '', ValueReplayPacker(), 'skip'),
    ('gold', int, 0, None, 'sum'),
    ('originalFortResource', int, 0, None, 'sum'),
    ('fortResourceReplay', str, '', ValueReplayPacker(), 'skip'),
    ('factualXP', int, 0, None, 'sum'), ('factualFreeXP', int, 0, None, 'sum'),
    ('factualCredits', int, 0, None, 'sum'),
    ('subtotalCredits', int, 0, None, 'sum'),
    ('subtotalXP', int, 0, None, 'sum'),
예제 #5
0
# Python bytecode 2.7 (decompiled from Python 2.7)
# Embedded file name: scripts/common/battle_results/frontline.py
from battle_results_constants import BATTLE_RESULT_ENTRY_TYPE as ENTRY_TYPE
from DictPackers import ValueReplayPacker

BATTLE_RESULTS = [
    ('creditsAfterShellCosts', int, 0, None, 'skip', ENTRY_TYPE.ACCOUNT_ALL),
    ('unchargedShellCosts', int, 0, None, 'skip', ENTRY_TYPE.ACCOUNT_ALL),
    ('prevMetaLevel', tuple, (1, 0), None, 'skip', ENTRY_TYPE.ACCOUNT_ALL),
    ('metaLevel', tuple, (1, 0), None, 'skip', ENTRY_TYPE.ACCOUNT_ALL),
    ('flXP', int, 0, None, 'skip', ENTRY_TYPE.ACCOUNT_ALL),
    ('originalFlXP', int, 0, None, 'skip', ENTRY_TYPE.ACCOUNT_ALL),
    ('subtotalFlXP', int, 0, None, 'skip', ENTRY_TYPE.ACCOUNT_ALL),
    ('boosterFlXP', int, 0, None, 'skip', ENTRY_TYPE.ACCOUNT_ALL),
    ('boosterFlXPFactor100', int, 0, None, 'any', ENTRY_TYPE.ACCOUNT_ALL),
    ('flXPReplay', str, '', ValueReplayPacker(), 'skip',
     ENTRY_TYPE.ACCOUNT_ALL),
    ('basePointsDiff', int, 0, None, 'skip', ENTRY_TYPE.ACCOUNT_ALL),
    ('sumPoints', int, 0, None, 'skip', ENTRY_TYPE.ACCOUNT_ALL),
    ('hasBattlePass', bool, False, None, 'skip', ENTRY_TYPE.ACCOUNT_ALL)
]
예제 #6
0
# Python bytecode 2.7 (decompiled from Python 2.7)
# Embedded file name: scripts/common/battle_results/battle_royale.py
from battle_results_constants import BATTLE_RESULT_ENTRY_TYPE as ENTRY_TYPE
from DictPackers import ValueReplayPacker, MergeDictPacker, DictPacker
BATTLE_RESULTS = [
    ('maxAchievedBRTitle', tuple, (0, 0), None, 'skip',
     ENTRY_TYPE.ACCOUNT_SELF),
    ('brPosInBattle', int, 255, None, 'skip', ENTRY_TYPE.VEHICLE_SELF),
    ('battleXPTotal', int, 0, None, 'sum', ENTRY_TYPE.SERVER),
    ('modulesDescriptors', list, [], None, 'extend', ENTRY_TYPE.SERVER),
    ('achivedLevel', int, 1, None, 'skip', ENTRY_TYPE.VEHICLE_ALL),
    ('bpChapter', int, 0, None, 'skip', ENTRY_TYPE.ACCOUNT_ALL),
    ('basePointsDiff', int, 0, None, 'skip', ENTRY_TYPE.ACCOUNT_ALL),
    ('bpNonChapterPointsDiff', int, 0, None, 'skip', ENTRY_TYPE.ACCOUNT_ALL),
    ('sumPoints', int, 0, None, 'skip', ENTRY_TYPE.ACCOUNT_ALL),
    ('hasBattlePass', bool, False, None, 'skip', ENTRY_TYPE.ACCOUNT_ALL),
    ('battlePassComplete', bool, False, None, 'skip', ENTRY_TYPE.ACCOUNT_ALL),
    ('currencies', dict, {},
     MergeDictPacker(
         ('brcoin', dict, {},
          MergeDictPacker(('count', int, 0, None, 'sum'),
                          ('original', int, 0, None, 'sum'),
                          ('replay', str, '', ValueReplayPacker(), 'skip'),
                          ('premiumFactor100', int, 0, None, 'any'),
                          ('premiumPlusFactor100', int, 0, None, 'any'),
                          ('premiumVipFactor100', int, 0, None, 'any'),
                          ('appliedPremiumFactor100', int, 0, None, 'any'),
                          ('subtotal', int, 0, None, 'sum')),
          'joinByEachPacker')), 'joinByEachPacker', ENTRY_TYPE.VEHICLE_SELF)
]