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

#include <MenuPresets.hpp>

Public Attributes

std::string Title
 
std::vector< std::string > Lines
 
std::string ConfirmLabel
 
std::string CancelLabel
 
std::function< void(int slot)> Confirm
 
std::function< void(int slot)> Cancel
 

Detailed Description

Settings for a confirmation menu.

Definition at line 82 of file MenuPresets.hpp.

Member Data Documentation

◆ Cancel

std::function<void(int slot)> VoltMod::ConfirmMenu::Cancel

An empty callback closes the menu session.

Definition at line 92 of file MenuPresets.hpp.

◆ CancelLabel

std::string VoltMod::ConfirmMenu::CancelLabel

Definition at line 89 of file MenuPresets.hpp.

◆ Confirm

std::function<void(int slot)> VoltMod::ConfirmMenu::Confirm

Definition at line 90 of file MenuPresets.hpp.

◆ ConfirmLabel

std::string VoltMod::ConfirmMenu::ConfirmLabel

Empty labels use "Confirm" and "Cancel".

Definition at line 88 of file MenuPresets.hpp.

◆ Lines

std::vector<std::string> VoltMod::ConfirmMenu::Lines

Preformatted text shown above the buttons.

Definition at line 86 of file MenuPresets.hpp.

◆ Title

std::string VoltMod::ConfirmMenu::Title

Definition at line 84 of file MenuPresets.hpp.


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