styyx-util 1.0
Utility Header for SKSE Plugin development
Loading...
Searching...
No Matches
StyyxUtil::MenuUtil Struct Reference

#include <st-menu.h>

Static Public Member Functions

static void CloseMenu (const RE::BSFixedString &a_menuName)
 Closes the specified menu.
static bool IsAnyOfMenuOpen (const std::vector< std::string > &a_menuNames)
 Check if any menu from a vector with menu names is open.

Member Function Documentation

◆ CloseMenu()

void StyyxUtil::MenuUtil::CloseMenu ( const RE::BSFixedString & a_menuName)
inlinestatic

Closes the specified menu.

Parameters
a_menuNameThe name of the menu to close

◆ IsAnyOfMenuOpen()

bool StyyxUtil::MenuUtil::IsAnyOfMenuOpen ( const std::vector< std::string > & a_menuNames)
inlinestaticnodiscard

Check if any menu from a vector with menu names is open.

Parameters
a_menuNamesvector of menu names to check
Returns
true if any menu from the vector is open (on the menu stack)

The documentation for this struct was generated from the following file: