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.
static void VisitMenuMembersRec (const char *a_path, RE::GFxValue &a_obj, int depth=0, int max_depth=4)
 print all members of a gfx path

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)

◆ VisitMenuMembersRec()

void StyyxUtil::MenuUtil::VisitMenuMembersRec ( const char * a_path,
RE::GFxValue & a_obj,
int depth = 0,
int max_depth = 4 )
inlinestatic

print all members of a gfx path

Note
don't leave this code in release plugins
Parameters
a_paththe path of the swf value to check
a_objthe gfx object to check
depthhow deep the recursion should start
max_depthow deep the recursion should go max
Here is the call graph for this function:
Here is the caller graph for this function:

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