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

#include <EventTypes.hpp>

Static Public Member Functions

static PlayerSpawned From (IGameEvent &e)
 

Public Attributes

int Slot = -1
 
bool Inrestart = false
 true if restart is pending
 

Static Public Attributes

static constexpr std::string_view EventName = "player_spawned"
 

Detailed Description

Definition at line 1617 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 1532 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::PlayerSpawned::EventName = "player_spawned"
staticconstexpr

Definition at line 1619 of file EventTypes.hpp.

◆ Inrestart

bool VoltMod::PlayerSpawned::Inrestart = false

true if restart is pending

Definition at line 1621 of file EventTypes.hpp.

◆ Slot

int VoltMod::PlayerSpawned::Slot = -1

Definition at line 1620 of file EventTypes.hpp.

Referenced by From().


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