# _Store Game UI Visible States

GrammarstoreRestore game UI for players at index index
FlagsAction | Internal

# Arguments

  • bool<preset::undefined> — Store/Restore
  • playergroup — Players
  • int<preset::undefined> — Index

Returns — void

void libNtve_gf__StoreGameUIVisibleStates(
	bool lp_storeRestore,
	playergroup lp_players,
	int lp_index,
);

Category: UI / Game UI / Internal

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:1942


    // Implementation
    libNtve_gf__StoreGameUIVisibleStates(true, lp_players, libNtve_ge_GameUIStoreIndex_CinematicMode);
    lv_uIFrame = c_syncFrameTypeFirst;
    for ( ; lv_uIFrame <= c_syncFrameTypeLast ; lv_uIFrame += 1 ) {

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:1955

    // Automatic Variable Declarations
    // Implementation
    libNtve_gf__StoreGameUIVisibleStates(false, lp_players, libNtve_ge_GameUIStoreIndex_CinematicMode);
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:4439


    // Implementation
    libNtve_gf__StoreGameUIVisibleStates(true, lp_players, libNtve_ge_GameUIStoreIndex_StoryMode);
    lv_indexFrame = c_syncFrameTypeFirst;
    for ( ; lv_indexFrame <= c_syncFrameTypeLast ; lv_indexFrame += 1 ) {

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:4452

    // Automatic Variable Declarations
    // Implementation
    libNtve_gf__StoreGameUIVisibleStates(false, lp_players, libNtve_ge_GameUIStoreIndex_StoryMode);
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:5023


        }
        libNtve_gf__StoreGameUIVisibleStates(false, lp_players, libNtve_ge_GameUIStoreIndex_GameUI);
    }
    else {

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:5036


        }
        libNtve_gf__StoreGameUIVisibleStates(true, lp_players, libNtve_ge_GameUIStoreIndex_GameUI);
        lv_uIFrame = c_syncFrameTypeFirst;
        for ( ; lv_uIFrame <= c_syncFrameTypeLast ; lv_uIFrame += 1 ) {

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:1632


    // Implementation
    libNtve_gf__StoreGameUIVisibleStates(true, lp_players, libNtve_ge_GameUIStoreIndex_CinematicMode);
    lv_uIFrame = c_syncFrameTypeFirst;
    for ( ; lv_uIFrame <= c_syncFrameTypeLast ; lv_uIFrame += 1 ) {

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:1645

    // Automatic Variable Declarations
    // Implementation
    libNtve_gf__StoreGameUIVisibleStates(false, lp_players, libNtve_ge_GameUIStoreIndex_CinematicMode);
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:3697


    // Implementation
    libNtve_gf__StoreGameUIVisibleStates(true, lp_players, libNtve_ge_GameUIStoreIndex_StoryMode);
    lv_indexFrame = c_syncFrameTypeFirst;
    for ( ; lv_indexFrame <= c_syncFrameTypeLast ; lv_indexFrame += 1 ) {

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:3710

    // Automatic Variable Declarations
    // Implementation
    libNtve_gf__StoreGameUIVisibleStates(false, lp_players, libNtve_ge_GameUIStoreIndex_StoryMode);
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:4268


        }
        libNtve_gf__StoreGameUIVisibleStates(false, lp_players, libNtve_ge_GameUIStoreIndex_GameUI);
    }
    else {

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:4281


        }
        libNtve_gf__StoreGameUIVisibleStates(true, lp_players, libNtve_ge_GameUIStoreIndex_GameUI);
        lv_uIFrame = c_syncFrameTypeFirst;
        for ( ; lv_uIFrame <= c_syncFrameTypeLast ; lv_uIFrame += 1 ) {