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

#include <EventTypes.hpp>

Static Public Member Functions

static PlayerResetVote From (IGameEvent &e)
 

Public Attributes

int Slot = -1
 
bool Vote = false
 

Static Public Attributes

static constexpr std::string_view EventName = "player_reset_vote"
 

Detailed Description

Definition at line 1570 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 1488 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::PlayerResetVote::EventName = "player_reset_vote"
staticconstexpr

Definition at line 1572 of file EventTypes.hpp.

◆ Slot

int VoltMod::PlayerResetVote::Slot = -1

Definition at line 1573 of file EventTypes.hpp.

Referenced by From().

◆ Vote

bool VoltMod::PlayerResetVote::Vote = false

Definition at line 1574 of file EventTypes.hpp.


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