def init(): sub_parsers.setEffectsParsers({'show-marker': _readShowMarkerSection, 'remove-marker': _readRemoveMarkerSection, 'next-task': _readNextTaskSection, 'teleport': _readTeleportSection, 'show-greeting': _readShowGreetingSection, 'enable-camera-zoom': _readEnableCameraZoom, 'disable-camera-zoom': _readDisableCameraZoom}) sub_parsers.setTriggersParsers({'dispatcher': _readDispatcherTriggerSection, 'aim': _readAimTriggerSection, 'area': _readAreaTriggerSection, 'vehOnArena': _readVehicleOnArenaTriggerSection, 'aimAtVeh': _readAimAtVehicleTriggerSection, 'autoAim': _readAutoAimAtVehicleTriggerSection, 'vehDestroyed': _readVehicleDestroyedTriggerSection, 'shotMissed': _readShotMissedTriggerSection, 'shotNoDmg': _readShotNoDamageTriggerSection, 'shotDmg': _readShotDamageTriggerSection, 'sniperMode': _readSniperModeTriggerSection, 'noAmmo': _readPlayerVehicleNoAmmoTriggerSection}) sub_parsers.setDialogsParsers({'replenishAmmo': _readReplenishAmmoDialogSection}) sub_parsers.setEntitiesParsers({'marker': _readMarkerSection, 'task': _readChapterTaskSection, 'hint': _readHintSection, 'progress': _readProgressSection, 'greeting': _readGreetingSection, 'exit': _readExitSection, 'image': _readImageSection})
def init(): sub_parsers.setEffectsParsers({ 'request-all-bonuses': _readRequestAllBonusesEffectSection, 'enter-queue': _readEnterQueueEffectSection, 'exit-queue': _readExitQueueEffectSection, 'open-internal-browser': _readInternalBrowserSection }) sub_parsers.setTriggersParsers({ 'bonus': lobby.readBonusTriggerSection, 'allBonuses': _readAllBonusesTriggerSection, 'queue': _readQueueTriggerSection }) sub_parsers.setDialogsParsers({ 'greeting': _readGreetingDialogSection, 'queue': _readQueueDialogSection, 'confirmRefuse': _readConfirmRefuseDialogSection }) sub_parsers.setWindowsParsers({ 'final': _readFinalWindowSection, 'noResults': _readNoResultsWindowSection })
def init(): sub_parsers.setEffectsParsers({'close-hint': _readCloseHintSection, 'set-filter': _readSetFilterSection}) sub_parsers.setTriggersParsers({'bonus': _readBonusTriggerSection, 'battleCount': _readBattleCountTriggerSection, 'unlocked': _readItemUnlockedTriggerSection, 'installed': _readItemInstalledTriggerSection, 'vehicleSetting': _readVehicleSettingTriggerSection, 'eliteVehicle': _readEliteVehicleTriggerSection, 'accCredits': _readAccountCreditsTriggerSection, 'itemPrice': _readItemPriceTriggerSection, 'eqInstalled': _readEqInstalledTriggerSection, 'inventory': _readInventoryItemTriggerSection, 'currentVehicle': _readCurrentVehicleTriggerSection, 'cVehCrew': _readCurVehicleCrewTriggerSection, 'cVehLocked': _readCurVehicleLockedTriggerSection, 'itemXP': _readItemXPTriggerSection, 'tankmanLevel': _readTankmanLevelTriggerSection, 'tankmanSkill': _readTankmanSkillTriggerSection, 'freeVehSlot': _readFreeVehicleSlotTriggerSection}) sub_parsers.setDialogsParsers({'greeting': _readGreetingDialogSection, 'quest': _readQuestDialogSection, 'subQuest': _readSubQuestDialogSection, 'questAndHelp': _readQuestAndHelpDialogSection, 'questCompleted': _readQuestCompletedDialogSection, 'finished': _readQuestCompletedDialogSection, 'vehicleItemInfo': _readVarRefDialogSection, 'tankmanSkill': _readVarRefDialogSection}) sub_parsers.setEntitiesParsers({'hint': _parseHint, 'cinfo-condition': _parseChapterInfoCondition})
def init(): sub_parsers.setEffectsParsers({ 'close-hint': _readCloseHintSection, 'set-filter': _readSetFilterSection }) sub_parsers.setTriggersParsers({ 'bonus': _readBonusTriggerSection, 'battleCount': _readBattleCountTriggerSection, 'unlocked': _readItemUnlockedTriggerSection, 'installed': _readItemInstalledTriggerSection, 'vehicleSetting': _readVehicleSettingTriggerSection, 'eliteVehicle': _readEliteVehicleTriggerSection, 'accCredits': _readAccountCreditsTriggerSection, 'itemPrice': _readItemPriceTriggerSection, 'eqInstalled': _readEqInstalledTriggerSection, 'inventory': _readInventoryItemTriggerSection, 'currentVehicle': _readCurrentVehicleTriggerSection, 'cVehCrew': _readCurVehicleCrewTriggerSection, 'cVehLocked': _readCurVehicleLockedTriggerSection, 'itemXP': _readItemXPTriggerSection, 'tankmanLevel': _readTankmanLevelTriggerSection, 'tankmanSkill': _readTankmanSkillTriggerSection, 'freeVehSlot': _readFreeVehicleSlotTriggerSection }) sub_parsers.setDialogsParsers({ 'greeting': _readGreetingDialogSection, 'quest': _readQuestDialogSection, 'subQuest': _readSubQuestDialogSection, 'questAndHelp': _readQuestAndHelpDialogSection, 'questCompleted': _readQuestCompletedDialogSection, 'finished': _readQuestCompletedDialogSection, 'vehicleItemInfo': _readVarRefDialogSection, 'tankmanSkill': _readVarRefDialogSection }) sub_parsers.setEntitiesParsers({ 'hint': _parseHint, 'cinfo-condition': _parseChapterInfoCondition })
def init(): sub_parsers.setEffectsParsers({'request-all-bonuses': _readRequestAllBonusesEffectSection, 'enter-queue': _readEnterQueueEffectSection, 'exit-queue': _readExitQueueEffectSection}) sub_parsers.setTriggersParsers({'bonus': lobby._readBonusTriggerSection, 'allBonuses': _readAllBonusesTriggerSection, 'queue': _readQueueTriggerSection}) sub_parsers.setDialogsParsers({'greeting': _readGreetingDialogSection, 'queue': _readQueueDialogSection, 'video': _readVideoDialogSection}) sub_parsers.setWindowsParsers({'final': _readFinalWindowSection, 'noResults': _readNoResultsWindowSection})
def init(): sub_parsers.setEffectsParsers({'request-all-bonuses': _readRequestAllBonusesEffectSection, 'enter-queue': _readEnterQueueEffectSection, 'exit-queue': _readExitQueueEffectSection, 'open-internal-browser': _readInternalBrowserSection}) sub_parsers.setTriggersParsers({'bonus': lobby.readBonusTriggerSection, 'allBonuses': _readAllBonusesTriggerSection, 'queue': _readQueueTriggerSection}) sub_parsers.setDialogsParsers({'greeting': _readGreetingDialogSection, 'queue': _readQueueDialogSection, 'confirmRefuse': _readConfirmRefuseDialogSection}) sub_parsers.setWindowsParsers({'final': _readFinalWindowSection, 'noResults': _readNoResultsWindowSection})
def init(): sub_parsers.setEffectsParsers({ 'request-exclusive-hint': _readRequestExclusiveHintEffectSection, 'update-exclusive-hints': sub_parsers.makeSimpleEffectReader( _EFFECT_TYPE.UPDATE_EXCLUSIVE_HINTS), 'start-vse-plan': _readStartPlanSection, 'restore-checkpoint': sub_parsers.makeSimpleEffectReader(_EFFECT_TYPE.RESTORE_CHECKPOINT), 'save-checkpoint': sub_parsers.makeSimpleEffectReader(_EFFECT_TYPE.SAVE_CHECKPOINT), 'set-bootcamp-nation': _readSetBootcampNationEffectSection, 'play-final-video': sub_parsers.makeSimpleEffectReader(_EFFECT_TYPE.PLAY_VIDEO), 'show-demo-acc-renaming': sub_parsers.makeSimpleEffectReader( _EFFECT_TYPE.SHOW_DEMO_ACCOUNT_RENAMING) }) sub_parsers.setEntitiesParsers({'checkpoint': _readCheckpointSection}) sub_parsers.setTriggersParsers({ 'linear-checkpoint-controller': _readLinearCheckpointControllerTriggerSection, 'current-vehicle-changed': _makeSimpleValidateVarTriggerReader( triggers.CurrentVehicleChangedTrigger), 'items-cache-sync': _makeSimpleValidateVarTriggerReader(triggers.ItemsCacheSyncTrigger) }) sub_parsers.setDialogsParsers({ 'bootcampMessage': _readBootcampMessageDialogSection, 'bootcampSelectNation': _readBootcampSelectNationDialogSection, 'bootcampVideo': _readVideoWindowSection }) sub_parsers.setConditionsParsers({ 'checkpoint-reached': lambda xmlCtx, section, flags: _readCheckpointReachedCondition( xmlCtx, section, _COND_STATE.ACTIVE), 'checkpoint-not-reached': lambda xmlCtx, section, flags: _readCheckpointReachedCondition( xmlCtx, section, ~_COND_STATE.ACTIVE) }) sub_parsers.setWindowsParsers( {'bootcampSubtitle': _readSubtitleWindowSection})
def init(): sub_parsers.setTriggersParsers({'bonus': readBonusTriggerSection, 'battleCount': readBattleCountTriggerSection, 'unlocked': readItemUnlockedTriggerSection, 'inventory': readInventoryItemTriggerSection, 'installed': readItemInstalledTriggerSection, 'eqInstalled': readEquipmentInstalledTriggerSection, 'freeSlot': readFreeVehicleSlotTriggerSection, 'currentVehicle': readCurrentVehicleChangedTriggerSection, 'premium': readPremiumPeriodChangedTriggerSection, 'freeXP': readFreeXPChangedTriggerSection}) sub_parsers.setDialogsParsers({'greeting': _readGreetingDialogSection, 'quest': _readQuestDialogSection, 'subQuest': _readSubQuestDialogSection, 'questAndHelp': _readQuestAndHelpDialogSection, 'questCompleted': _readQuestCompletedDialogSection, 'finished': _readQuestCompletedDialogSection, 'vehicleItemInfo': _readVarRefDialogSection, 'tankmanSkill': _readVarRefDialogSection})
def init(): sub_parsers.setEffectsParsers({ 'request-all-bonuses': _readRequestAllBonusesEffectSection, 'enter-queue': _readEnterQueueEffectSection, 'exit-queue': _readExitQueueEffectSection }) sub_parsers.setTriggersParsers({ 'bonus': lobby._readBonusTriggerSection, 'allBonuses': _readAllBonusesTriggerSection, 'queue': _readQueueTriggerSection }) sub_parsers.setDialogsParsers({ 'greeting': _readGreetingDialogSection, 'queue': _readQueueDialogSection, 'video': _readVideoDialogSection }) sub_parsers.setWindowsParsers({ 'final': _readFinalWindowSection, 'noResults': _readNoResultsWindowSection })