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

#include <EventTypes.hpp>

Static Public Member Functions

static PlayerFalldamage From (IGameEvent &e)
 

Public Attributes

int Slot = -1
 
float Damage = 0.0f
 

Static Public Attributes

static constexpr std::string_view EventName = "player_falldamage"
 

Detailed Description

Definition at line 1474 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 1394 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ Damage

float VoltMod::PlayerFalldamage::Damage = 0.0f

Definition at line 1478 of file EventTypes.hpp.

◆ EventName

constexpr std::string_view VoltMod::PlayerFalldamage::EventName = "player_falldamage"
staticconstexpr

Definition at line 1476 of file EventTypes.hpp.

◆ Slot

int VoltMod::PlayerFalldamage::Slot = -1

Definition at line 1477 of file EventTypes.hpp.

Referenced by From().


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