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

#include <EventTypes.hpp>

Static Public Member Functions

static PlayerPing From (IGameEvent &e)
 

Public Attributes

int Slot = -1
 
int Entityid = 0
 
float X = 0.0f
 
float Y = 0.0f
 
float Z = 0.0f
 
bool Urgent = false
 

Static Public Attributes

static constexpr std::string_view EventName = "player_ping"
 

Detailed Description

Definition at line 1543 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 1462 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ Entityid

int VoltMod::PlayerPing::Entityid = 0

Definition at line 1547 of file EventTypes.hpp.

◆ EventName

constexpr std::string_view VoltMod::PlayerPing::EventName = "player_ping"
staticconstexpr

Definition at line 1545 of file EventTypes.hpp.

◆ Slot

int VoltMod::PlayerPing::Slot = -1

Definition at line 1546 of file EventTypes.hpp.

Referenced by From().

◆ Urgent

bool VoltMod::PlayerPing::Urgent = false

Definition at line 1551 of file EventTypes.hpp.

◆ X

float VoltMod::PlayerPing::X = 0.0f

Definition at line 1548 of file EventTypes.hpp.

◆ Y

float VoltMod::PlayerPing::Y = 0.0f

Definition at line 1549 of file EventTypes.hpp.

◆ Z

float VoltMod::PlayerPing::Z = 0.0f

Definition at line 1550 of file EventTypes.hpp.


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