|
VoltMod
C++23 framework for CS2 server plugins
|
#include <MenuPresets.hpp>
Public Member Functions | |
| SummaryRows & | Add (std::string label, std::string value={}) |
| SummaryRows & | AddIf (bool condition, std::string label, std::string value={}) |
| std::vector< std::string > | Take () && |
Lines listed before a confirm dialog's two buttons.
Definition at line 58 of file MenuPresets.hpp.
|
inline |
"{label}: {value}", or just "{label}" when value is empty.
Definition at line 62 of file MenuPresets.hpp.
|
inline |
Adds a row when condition is true.
Definition at line 69 of file MenuPresets.hpp.
| std::vector< std::string > VoltMod::SummaryRows::Take | ( | ) | && |
The rows, formatted one per line. Consumes them.
Definition at line 12 of file MenuPresets.cpp.
References VoltMod::ReadFile().