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

#include <EventTypes.hpp>

Static Public Member Functions

static PlayerSpawn From (IGameEvent &e)
 

Public Attributes

int Slot = -1
 

Static Public Attributes

static constexpr std::string_view EventName = "player_spawn"
 

Detailed Description

player spawned in game

Definition at line 1610 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 1525 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::PlayerSpawn::EventName = "player_spawn"
staticconstexpr

Definition at line 1612 of file EventTypes.hpp.

◆ Slot

int VoltMod::PlayerSpawn::Slot = -1

Definition at line 1613 of file EventTypes.hpp.

Referenced by From().


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