MCPcopy Create free account
hub / github.com/TurningWheel/Barony / isItemEffectMenuActive

Method isItemEffectMenuActive

src/interface/interface.cpp:26985–26996  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26983}
26984
26985bool GenericGUIMenu::ItemEffectGUI_t::isItemEffectMenuActive() const
26986{
26987 if ( !parentGUI.isGUIOpen() || !ItemEffectHasBeenCreated() )
26988 {
26989 return false;
26990 }
26991 if ( bOpen && parentGUI.guiType == GUICurrentType::GUI_TYPE_ITEMFX )
26992 {
26993 return true;
26994 }
26995 return false;
26996}
26997
26998void GenericGUIMenu::ItemEffectGUI_t::createItemEffectMenu()
26999{

Callers 1

updateInventoryMethod · 0.80

Calls 1

isGUIOpenMethod · 0.80

Tested by

no test coverage detected