VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
MenuBuilder.hpp File Reference
#include <VoltMod/Core/Text/Labeled.hpp>
#include <VoltMod/Menu/MenuModel.hpp>
#include <concepts>
#include <functional>
#include <memory>
#include <optional>
#include <string>
#include <string_view>
#include <type_traits>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

class  VoltMod::EnabledCondition
struct  VoltMod::ButtonRow
struct  VoltMod::ToggleRow
struct  VoltMod::ChoiceIndex
struct  VoltMod::ChoiceRow< T >
struct  VoltMod::InputRow
struct  VoltMod::SubmenuRow
struct  VoltMod::TextRow
class  VoltMod::MenuBuilder

Namespaces

namespace  VoltMod
namespace  VoltMod::Internal

Concepts

concept  VoltMod::MenuRowSpec

Enumerations

enum class  VoltMod::ChoiceApply { VoltMod::AfterStep , VoltMod::OnActivate }

Functions

MenuItem VoltMod::Internal::ChoiceItem (std::string label, std::vector< std::string > choices, std::function< void(int slot, int index)> commit, std::optional< ChoiceIndex > bind, int index, EnabledCondition enabled, ChoiceApply apply)