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

#include <EventTypes.hpp>

Static Public Member Functions

static VoteStarted From (IGameEvent &e)
 

Public Attributes

std::string Issue
 
std::string Param1
 
VoltMod::Team Team = VoltMod::Team::None
 
int Initiator = 0
 entity id of the player who initiated the vote
 

Static Public Attributes

static constexpr std::string_view EventName = "vote_started"
 

Detailed Description

Definition at line 2245 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 2122 of file EventTypes.cpp.

References Initiator, Issue, and VoltMod::ReadFile().

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::VoteStarted::EventName = "vote_started"
staticconstexpr

Definition at line 2247 of file EventTypes.hpp.

◆ Initiator

int VoltMod::VoteStarted::Initiator = 0

entity id of the player who initiated the vote

Definition at line 2251 of file EventTypes.hpp.

Referenced by From().

◆ Issue

std::string VoltMod::VoteStarted::Issue

Definition at line 2248 of file EventTypes.hpp.

Referenced by From().

◆ Param1

std::string VoltMod::VoteStarted::Param1

Definition at line 2249 of file EventTypes.hpp.

◆ Team

VoltMod::Team VoltMod::VoteStarted::Team = VoltMod::Team::None

Definition at line 2250 of file EventTypes.hpp.


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