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

#include <EventTypes.hpp>

Static Public Member Functions

static VoteCastYes From (IGameEvent &e)
 

Public Attributes

VoltMod::Team Team = VoltMod::Team::None
 
int Entityid = 0
 entity id of the voter
 

Static Public Attributes

static constexpr std::string_view EventName = "vote_cast_yes"
 

Detailed Description

Definition at line 2191 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 2069 of file EventTypes.cpp.

References Entityid, VoltMod::ReadFile(), and Team.

Member Data Documentation

◆ Entityid

int VoltMod::VoteCastYes::Entityid = 0

entity id of the voter

Definition at line 2195 of file EventTypes.hpp.

Referenced by From().

◆ EventName

constexpr std::string_view VoltMod::VoteCastYes::EventName = "vote_cast_yes"
staticconstexpr

Definition at line 2193 of file EventTypes.hpp.

◆ Team

VoltMod::Team VoltMod::VoteCastYes::Team = VoltMod::Team::None

Definition at line 2194 of file EventTypes.hpp.

Referenced by From().


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