1154 {
1156
1157 if ( !menu &&
g_Game.GetPlayer().GetHumanInventory().CanOpenInventory() && !
g_Game.GetPlayer().IsInventorySoftLocked() )
1158 {
1160 {
1162 }
1163
1165 {
1167 PlayerBase.Cast(
g_Game.GetPlayer()).OnInventoryMenuOpen();
1168 }
1171 }
1172 }
override void AddActiveInputExcludes(array< string > excludes)
Adds one or more exclude groups to disable and refreshes excludes.
override void AddActiveInputRestriction(int restrictor)
Adds one input restriction (specific behaviour oudside regular excludes, defined below)
ref InventoryMenu m_InventoryMenu
proto native UIScriptedMenu GetMenu()
Returns most-top open menu.
proto native UIScriptedMenu ShowScriptedMenu(UIScriptedMenu menu, UIMenuPanel parent)