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

#include <EventTypes.hpp>

Static Public Member Functions

static VoteCastNo 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_no"
 

Detailed Description

Definition at line 2183 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 2061 of file EventTypes.cpp.

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

Member Data Documentation

◆ Entityid

int VoltMod::VoteCastNo::Entityid = 0

entity id of the voter

Definition at line 2187 of file EventTypes.hpp.

Referenced by From().

◆ EventName

constexpr std::string_view VoltMod::VoteCastNo::EventName = "vote_cast_no"
staticconstexpr

Definition at line 2185 of file EventTypes.hpp.

◆ Team

VoltMod::Team VoltMod::VoteCastNo::Team = VoltMod::Team::None

Definition at line 2186 of file EventTypes.hpp.

Referenced by From().


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