|
VoltMod
C++23 framework for CS2 server plugins
|
#include <MenuPresets.hpp>
Public Attributes | |
| std::string | Title |
| std::vector< Labeled< int > > | Presets |
| std::function< void(int slot, int seconds)> | Pick |
| std::string | CustomLabel |
| std::string | CustomPrompt |
| int | MaxInputLength = 32 |
Duration presets with optional free-text input.
Definition at line 39 of file MenuPresets.hpp.
| std::string VoltMod::DurationMenu::CustomLabel |
Empty disables free-text input.
Definition at line 47 of file MenuPresets.hpp.
| std::string VoltMod::DurationMenu::CustomPrompt |
Shown over the menu while the player types.
Definition at line 49 of file MenuPresets.hpp.
| int VoltMod::DurationMenu::MaxInputLength = 32 |
Longest chat line the free-text row accepts.
Definition at line 51 of file MenuPresets.hpp.
Runs with the seconds the picked row - or the typed text - stands for.
Definition at line 45 of file MenuPresets.hpp.
Seconds, drawn in this order.
Definition at line 43 of file MenuPresets.hpp.
| std::string VoltMod::DurationMenu::Title |
Definition at line 41 of file MenuPresets.hpp.