Ejemplo n.º 1
0
def configure_state():
    content_type = ResMgr.activeContentType()
    if content_type == CONTENT_TYPE.SANDBOX:
        config = _get_config(content_type)
        _shop.OnShopItemWrapPointcut(config)
        _continue_download.OnHyperlinkClickPointcut()
        _continue_download.OnSquadHyperlinkClickPointcut()
        _continue_download.PrepareLibrariesListPointcut()
        _continue_download.OnBrowserHyperlinkClickPointcut()
        _continue_download.OnFailLoadingFramePointcut()
        _contacts.CreateSquadPointcut()
        _configure_lobby_pointcuts(config)
        _configure_login_pointcuts()
        _notifications_configure_pointcuts()
        _configure_fort_pointcuts()
        _configure_tech_tree_pointcuts(config)
        _configure_invitation_pointcuts()
        _configure_personal_quests_pointcuts()
        _dynamic_squads.ParametrizeInitPointcut()
        _dynamic_squads.DisableGameSettingPointcut()
        _dynamic_squads.InviteReceivedMessagePointcut()
        _promo_controller.ShowPromoBrowserPointcut()
        _fallout_controller.InitFalloutPointcut()
        _event.InitEventPointcut()
        _preview.ChangeVehicleIsPreviewAllowed(config)
Ejemplo n.º 2
0
def _enable_all_pointcuts(config):
    _shop.OnShopItemWrapPointcut(config)
    _continue_download.OnHyperlinkClickPointcut()
    _continue_download.OnSquadHyperlinkClickPointcut()
    _continue_download.PrepareLibrariesListPointcut()
    _continue_download.OnBrowserHyperlinkClickPointcut()
    _continue_download.OnFailLoadingFramePointcut()
    _contacts.CreateSquadPointcut()
    _configure_lobby_pointcuts(config)
    _configure_login_pointcuts()
    _notifications_configure_pointcuts()
    _configure_tech_tree_pointcuts(config)
    _configure_invitation_pointcuts()
    _configure_personal_quests_pointcuts()
    _dynamic_squads.ParametrizeInitPointcut()
    _dynamic_squads.DisableGameSettingPointcut()
    _dynamic_squads.InviteReceivedMessagePointcut()
    _promo_controller.ShowPromoBrowserPointcut()
    _fallout_controller.InitFalloutPointcut()
    _ranked_battles_controller.InitRankedPointcut()
    _event.InitEventPointcut()
    _preview.ChangeVehicleIsPreviewAllowed(config)
    _configure_vehicle_compare_pointcuts()