# UI Frame Flag Check
Grammar — UI frame uIFrame is flag
Flags —Function
# Arguments
int
<preset::UIFrameType> — UI Frameint
<preset::UIFrameFlag> — Flag
Returns — bool
bool libNtve_gf_UIFrameFlagCheck(
int lp_uIFrame,
int lp_flag,
);
# Related
Category: UI / Game UI
- Set Screen Mode —
void
— UISetMode - Set Minimum Letterbox Height —
void
— UISetMinimumLetterboxHeight - Show/Hide Game UI —
void
— libNtve_gf_HideGameUI - Add/Remove UI Frame Type For Global Filter List —
void
— libNtve_gf_AddRemoveUIFrameTypeForGlobalFilterList - UI Frame Flag — preset —
int
- UI Frame Flag Check —
bool
— libNtve_gf_UIFrameFlagCheck - For Each UI Frame — macro
- Show/Hide UI Frame —
void
— UISetFrameVisible - Set BattleNet Button Offset —
void
— UISetBattleNetButtonOffset - Clear BattleNet Button Offset —
void
— UIClearBattleNetButtonOffset - UI Frame Is Visible —
bool
— UIFrameVisible - Show/Hide World —
void
— UISetWorldVisible - Show/Hide Achievement Panel —
void
— AchievementPanelSetVisible - Show/Hide Mouse Cursor —
void
— UISetCursorVisible - Enable/Disable Mouse Cursor Auto Hide —
void
— UISetCursorAutoHide - Enable/Disable Drag Selection —
void
— UISetDragSelectEnabled - Set Hot Key Profile —
void
— UISetHotkeyProfile - Lock Ally Color Setting —
void
— UIUnitColorStyleOverride - Unlock Ally Color Setting —
void
— UIUnitColorStyleClearOverride - Lock Flyer Helper Display —
void
— UIFlyerHelperOverride - Unlock Flyer Helper Display —
void
— UIFlyerHelperClearOverride - Lock Status Bar Display —
void
— UIStatusBarOverride - Unlock Status Bar Display —
void
— UIStatusBarClearOverride - Set Achievement Toast Style —
void
— UISetAchievementToastStyle - Set Minimap Background Color —
void
— UISetMiniMapBackGroundColor - Show/Hide Minimap Camera Field of View —
void
— UISetMiniMapCameraFoVVisible - Set Minimap Bounds —
void
— UISetMiniMapBounds - Enable/Disable Command Type —
void
— UISetCommandAllowed - Turn Ability Highlight On/Off —
void
— UISetButtonHighlighted - Turn Button Highlight On/Off —
void
— UISetButtonFaceHighlighted - Set Command Type Disabled Message —
void
— UISetCommandDisallowedMessage - Show/Hide Resource —
void
— UISetResourceVisible - Enable/Disable Selection Type —
void
— UISetSelectionTypeEnabled - Launch Nydus Link —
void
— UILaunchNydusLink - Show/Hide Message Log —
void
— UIMessageLogPanelSetVisible - Set Targeting Order —
void
— UISetTargetingOrder - Enable/Disable Hotkey —
void
— UISetHotkeyAllowed - Target Mode Updated —
void
— TriggerAddEventTargetModeUpdate - Resources Requested —
void
— TriggerAddEventResourceRequest - Resources Traded —
void
— TriggerAddEventResourceTrade - Target Mode Ability Command —
abilcmd
— EventTargetModeAbilCmd - Target Mode State —
int
<preset::TargetModeState> — EventTargetModeState - Resource Requested Amount —
int
— EventResourceRequestAmount - Resource Traded Amount —
int
— EventResourceTradeAmount - Resource Traded Recipient —
int
— EventResourceTradeRecipient
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:4442
lv_indexFrame = c_syncFrameTypeFirst;
for ( ; lv_indexFrame <= c_syncFrameTypeLast ; lv_indexFrame += 1 ) {
if ((libNtve_gf_UIFrameFlagCheck(lv_indexFrame, libNtve_ge_UIFrameFlag_StoryModeFrame) == false) && (libNtve_gv__GameUIFrameFiltered[(lv_indexFrame)] == false)) {
UISetFrameVisible(lp_players, lv_indexFrame, false);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:3700
lv_indexFrame = c_syncFrameTypeFirst;
for ( ; lv_indexFrame <= c_syncFrameTypeLast ; lv_indexFrame += 1 ) {
if ((libNtve_gf_UIFrameFlagCheck(lv_indexFrame, libNtve_ge_UIFrameFlag_StoryModeFrame) == false) && (libNtve_gv__GameUIFrameFiltered[(lv_indexFrame)] == false)) {
UISetFrameVisible(lp_players, lv_indexFrame, false);
}