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

#include <MenuBuilder.hpp>

Public Member Functions

MenuItem ToItem () const
 

Public Attributes

std::string Label
 
std::function< std::shared_ptr< Menu >(int slot)> Build
 
EnabledCondition Enabled
 
std::string Icon
 

Detailed Description

A link to another menu. Build runs on E and its result is pushed onto the stack.

Definition at line 140 of file MenuBuilder.hpp.

Member Function Documentation

◆ ToItem()

MenuItem VoltMod::SubmenuRow::ToItem ( ) const

Member Data Documentation

◆ Build

std::function<std::shared_ptr<Menu>(int slot)> VoltMod::SubmenuRow::Build

Definition at line 143 of file MenuBuilder.hpp.

Referenced by ToItem().

◆ Enabled

EnabledCondition VoltMod::SubmenuRow::Enabled

Definition at line 144 of file MenuBuilder.hpp.

Referenced by ToItem().

◆ Icon

std::string VoltMod::SubmenuRow::Icon

Reported as MenuRow::Icon.

Definition at line 146 of file MenuBuilder.hpp.

Referenced by ToItem().

◆ Label

std::string VoltMod::SubmenuRow::Label

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