|
VoltMod
C++23 framework for CS2 server plugins
|
#include <MenuPresets.hpp>
Public Attributes | |
| std::string | Title |
| std::vector< std::string > | Lines |
| std::string | ConfirmLabel |
| std::string | CancelLabel |
| std::function< void(int slot)> | Confirm |
| std::function< void(int slot)> | Cancel |
Settings for a confirmation menu.
Definition at line 82 of file MenuPresets.hpp.
An empty callback closes the menu session.
Definition at line 92 of file MenuPresets.hpp.
| std::string VoltMod::ConfirmMenu::CancelLabel |
Definition at line 89 of file MenuPresets.hpp.
Definition at line 90 of file MenuPresets.hpp.
| std::string VoltMod::ConfirmMenu::ConfirmLabel |
Empty labels use "Confirm" and "Cancel".
Definition at line 88 of file MenuPresets.hpp.
| std::vector<std::string> VoltMod::ConfirmMenu::Lines |
Preformatted text shown above the buttons.
Definition at line 86 of file MenuPresets.hpp.
| std::string VoltMod::ConfirmMenu::Title |
Definition at line 84 of file MenuPresets.hpp.