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

#include <EventTypes.hpp>

Static Public Member Functions

static VoteOptions From (IGameEvent &e)
 

Public Attributes

int Count = 0
 Number of options - up to MAX_VOTE_OPTIONS.
 
std::string Option1
 
std::string Option2
 
std::string Option3
 
std::string Option4
 
std::string Option5
 

Static Public Attributes

static constexpr std::string_view EventName = "vote_options"
 

Detailed Description

Definition at line 2224 of file EventTypes.hpp.

Member Function Documentation

◆ From()

VoteOptions VoltMod::VoteOptions::From ( IGameEvent &  e)
static

Definition at line 2101 of file EventTypes.cpp.

References Count, and VoltMod::ReadFile().

Member Data Documentation

◆ Count

int VoltMod::VoteOptions::Count = 0

Number of options - up to MAX_VOTE_OPTIONS.

Definition at line 2227 of file EventTypes.hpp.

Referenced by From().

◆ EventName

constexpr std::string_view VoltMod::VoteOptions::EventName = "vote_options"
staticconstexpr

Definition at line 2226 of file EventTypes.hpp.

◆ Option1

std::string VoltMod::VoteOptions::Option1

Definition at line 2228 of file EventTypes.hpp.

◆ Option2

std::string VoltMod::VoteOptions::Option2

Definition at line 2229 of file EventTypes.hpp.

◆ Option3

std::string VoltMod::VoteOptions::Option3

Definition at line 2230 of file EventTypes.hpp.

◆ Option4

std::string VoltMod::VoteOptions::Option4

Definition at line 2231 of file EventTypes.hpp.

◆ Option5

std::string VoltMod::VoteOptions::Option5

Definition at line 2232 of file EventTypes.hpp.


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