VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VoltMod::ToggleRow Struct Reference

#include <MenuBuilder.hpp>

Public Member Functions

MenuItem ToItem () const
 

Public Attributes

std::string Label
 
std::function< bool(int slot)> Get
 
std::function< void(int slot)> Flip
 
EnabledCondition Enabled
 

Detailed Description

A boolean row drawn as a switch. E and A/D run Flip.

Definition at line 53 of file MenuBuilder.hpp.

Member Function Documentation

◆ ToItem()

MenuItem VoltMod::ToggleRow::ToItem ( ) const

Member Data Documentation

◆ Enabled

EnabledCondition VoltMod::ToggleRow::Enabled

Definition at line 58 of file MenuBuilder.hpp.

Referenced by ToItem().

◆ Flip

std::function<void(int slot)> VoltMod::ToggleRow::Flip

Definition at line 57 of file MenuBuilder.hpp.

Referenced by ToItem().

◆ Get

std::function<bool(int slot)> VoltMod::ToggleRow::Get

Definition at line 56 of file MenuBuilder.hpp.

Referenced by ToItem().

◆ Label

std::string VoltMod::ToggleRow::Label

Definition at line 55 of file MenuBuilder.hpp.

Referenced by ToItem().


The documentation for this struct was generated from the following files: