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

#include <EventTypes.hpp>

Static Public Member Functions

static AddPlayerSonarIcon From (IGameEvent &e)
 

Public Attributes

int Slot = -1
 
float PosX = 0.0f
 
float PosY = 0.0f
 
float PosZ = 0.0f
 

Static Public Attributes

static constexpr std::string_view EventName = "add_player_sonar_icon"
 

Detailed Description

Definition at line 75 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 77 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::AddPlayerSonarIcon::EventName = "add_player_sonar_icon"
staticconstexpr

Definition at line 77 of file EventTypes.hpp.

◆ PosX

float VoltMod::AddPlayerSonarIcon::PosX = 0.0f

Definition at line 79 of file EventTypes.hpp.

◆ PosY

float VoltMod::AddPlayerSonarIcon::PosY = 0.0f

Definition at line 80 of file EventTypes.hpp.

◆ PosZ

float VoltMod::AddPlayerSonarIcon::PosZ = 0.0f

Definition at line 81 of file EventTypes.hpp.

◆ Slot

int VoltMod::AddPlayerSonarIcon::Slot = -1

Definition at line 78 of file EventTypes.hpp.

Referenced by From().


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