# _Store Game UI Visible States
Grammar — storeRestore game UI for players at index index
Flags —Action
|Internal
# Arguments
Returns — void
void libNtve_gf__StoreGameUIVisibleStates(
bool lp_storeRestore,
playergroup lp_players,
int lp_index,
);
# Related
Category: UI / Game UI / Internal
- Store/Restore — preset —
bool
- GameUIStoreIndex — preset —
int
- Target Mode State — preset —
int
- _Store Game UI Visible States —
void
— libNtve_gf__StoreGameUIVisibleStates
# Examples
mods/core.sc2mod — base.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.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:1955
// Automatic Variable Declarations
// Implementation
libNtve_gf__StoreGameUIVisibleStates(false, lp_players, libNtve_ge_GameUIStoreIndex_CinematicMode);
}
mods/core.sc2mod — base.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.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:4452
// Automatic Variable Declarations
// Implementation
libNtve_gf__StoreGameUIVisibleStates(false, lp_players, libNtve_ge_GameUIStoreIndex_StoryMode);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:5023
}
libNtve_gf__StoreGameUIVisibleStates(false, lp_players, libNtve_ge_GameUIStoreIndex_GameUI);
}
else {
mods/core.sc2mod — base.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.stormmod — base.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.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:1645
// Automatic Variable Declarations
// Implementation
libNtve_gf__StoreGameUIVisibleStates(false, lp_players, libNtve_ge_GameUIStoreIndex_CinematicMode);
}
mods/core.stormmod — base.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.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:3710
// Automatic Variable Declarations
// Implementation
libNtve_gf__StoreGameUIVisibleStates(false, lp_players, libNtve_ge_GameUIStoreIndex_StoryMode);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:4268
}
libNtve_gf__StoreGameUIVisibleStates(false, lp_players, libNtve_ge_GameUIStoreIndex_GameUI);
}
else {
mods/core.stormmod — base.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 ) {