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

#include <EventTypes.hpp>

Static Public Member Functions

static StartVote From (IGameEvent &e)
 

Public Attributes

int Slot = -1
 
int Type = 0
 
int VoteParameter = 0
 

Static Public Attributes

static constexpr std::string_view EventName = "start_vote"
 

Detailed Description

Definition at line 1959 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 1847 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::StartVote::EventName = "start_vote"
staticconstexpr

Definition at line 1961 of file EventTypes.hpp.

◆ Slot

int VoltMod::StartVote::Slot = -1

Definition at line 1962 of file EventTypes.hpp.

Referenced by From().

◆ Type

int VoltMod::StartVote::Type = 0

Definition at line 1963 of file EventTypes.hpp.

◆ VoteParameter

int VoltMod::StartVote::VoteParameter = 0

Definition at line 1964 of file EventTypes.hpp.


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