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

#include <EventTypes.hpp>

Static Public Member Functions

static EnableRestartVoting From (IGameEvent &e)
 

Public Attributes

bool Enable = false
 

Static Public Attributes

static constexpr std::string_view EventName = "enable_restart_voting"
 

Detailed Description

Definition at line 577 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 546 of file EventTypes.cpp.

References Enable, and VoltMod::ReadFile().

Member Data Documentation

◆ Enable

bool VoltMod::EnableRestartVoting::Enable = false

Definition at line 580 of file EventTypes.hpp.

Referenced by From().

◆ EventName

constexpr std::string_view VoltMod::EnableRestartVoting::EventName = "enable_restart_voting"
staticconstexpr

Definition at line 579 of file EventTypes.hpp.


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