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

#include <EventTypes.hpp>

Static Public Member Functions

static VoteChanged From (IGameEvent &e)
 

Public Attributes

int VoteOption1 = 0
 
int VoteOption2 = 0
 
int VoteOption3 = 0
 
int VoteOption4 = 0
 
int VoteOption5 = 0
 
int PotentialVotes = 0
 

Static Public Attributes

static constexpr std::string_view EventName = "vote_changed"
 

Detailed Description

Definition at line 2199 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 2077 of file EventTypes.cpp.

References VoltMod::ReadFile(), and VoteOption1.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::VoteChanged::EventName = "vote_changed"
staticconstexpr

Definition at line 2201 of file EventTypes.hpp.

◆ PotentialVotes

int VoltMod::VoteChanged::PotentialVotes = 0

Definition at line 2207 of file EventTypes.hpp.

◆ VoteOption1

int VoltMod::VoteChanged::VoteOption1 = 0

Definition at line 2202 of file EventTypes.hpp.

Referenced by From().

◆ VoteOption2

int VoltMod::VoteChanged::VoteOption2 = 0

Definition at line 2203 of file EventTypes.hpp.

◆ VoteOption3

int VoltMod::VoteChanged::VoteOption3 = 0

Definition at line 2204 of file EventTypes.hpp.

◆ VoteOption4

int VoltMod::VoteChanged::VoteOption4 = 0

Definition at line 2205 of file EventTypes.hpp.

◆ VoteOption5

int VoltMod::VoteChanged::VoteOption5 = 0

Definition at line 2206 of file EventTypes.hpp.


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