|
VoltMod
C++23 framework for CS2 server plugins
|
#include <MenuBuilder.hpp>
Public Member Functions | |
| MenuItem | ToItem () const |
Public Attributes | |
| std::string | Label |
| std::function< std::shared_ptr< Menu >(int slot)> | Build |
| EnabledCondition | Enabled |
| std::string | Icon |
A link to another menu. Build runs on E and its result is pushed onto the stack.
Definition at line 140 of file MenuBuilder.hpp.
| MenuItem VoltMod::SubmenuRow::ToItem | ( | ) | const |
Definition at line 105 of file MenuBuilder.cpp.
References Build, VoltMod::MenuItem::Describe, VoltMod::DescribeRow(), Enabled, Icon, Label, VoltMod::ReadFile(), VoltMod::Submenu, and VoltMod::WhenEnabled().
Definition at line 143 of file MenuBuilder.hpp.
Referenced by ToItem().
| EnabledCondition VoltMod::SubmenuRow::Enabled |
Definition at line 144 of file MenuBuilder.hpp.
Referenced by ToItem().
| std::string VoltMod::SubmenuRow::Icon |
| std::string VoltMod::SubmenuRow::Label |
Definition at line 142 of file MenuBuilder.hpp.
Referenced by VoltMod::AppendPlayerRows(), VoltMod::MenuBuilder::Submenu(), and ToItem().