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

#include <MenuBuilder.hpp>

Public Member Functions

MenuItem ToItem () const
 

Public Attributes

std::string Label
 
std::function< void(int slot)> Activate
 
EnabledCondition Enabled
 

Detailed Description

A plain action row. Activate runs on E or a click.

Definition at line 43 of file MenuBuilder.hpp.

Member Function Documentation

◆ ToItem()

MenuItem VoltMod::ButtonRow::ToItem ( ) const

Member Data Documentation

◆ Activate

std::function<void(int slot)> VoltMod::ButtonRow::Activate

Definition at line 46 of file MenuBuilder.hpp.

Referenced by ToItem().

◆ Enabled

EnabledCondition VoltMod::ButtonRow::Enabled

Definition at line 47 of file MenuBuilder.hpp.

Referenced by ToItem().

◆ Label

std::string VoltMod::ButtonRow::Label

Definition at line 45 of file MenuBuilder.hpp.

Referenced by VoltMod::AppendPlayerRows(), VoltMod::MenuBuilder::Button(), and ToItem().


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