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

#include <EventTypes.hpp>

Static Public Member Functions

static AddBulletHitMarker From (IGameEvent &e)
 

Public Attributes

int Slot = -1
 
int Bone = 0
 
int PosX = 0
 
int PosY = 0
 
int PosZ = 0
 
int AngX = 0
 
int AngY = 0
 
int AngZ = 0
 
int StartX = 0
 
int StartY = 0
 
int StartZ = 0
 
bool Hit = false
 

Static Public Attributes

static constexpr std::string_view EventName = "add_bullet_hit_marker"
 

Detailed Description

Definition at line 57 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 59 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ AngX

int VoltMod::AddBulletHitMarker::AngX = 0

Definition at line 65 of file EventTypes.hpp.

◆ AngY

int VoltMod::AddBulletHitMarker::AngY = 0

Definition at line 66 of file EventTypes.hpp.

◆ AngZ

int VoltMod::AddBulletHitMarker::AngZ = 0

Definition at line 67 of file EventTypes.hpp.

◆ Bone

int VoltMod::AddBulletHitMarker::Bone = 0

Definition at line 61 of file EventTypes.hpp.

◆ EventName

constexpr std::string_view VoltMod::AddBulletHitMarker::EventName = "add_bullet_hit_marker"
staticconstexpr

Definition at line 59 of file EventTypes.hpp.

◆ Hit

bool VoltMod::AddBulletHitMarker::Hit = false

Definition at line 71 of file EventTypes.hpp.

◆ PosX

int VoltMod::AddBulletHitMarker::PosX = 0

Definition at line 62 of file EventTypes.hpp.

◆ PosY

int VoltMod::AddBulletHitMarker::PosY = 0

Definition at line 63 of file EventTypes.hpp.

◆ PosZ

int VoltMod::AddBulletHitMarker::PosZ = 0

Definition at line 64 of file EventTypes.hpp.

◆ Slot

int VoltMod::AddBulletHitMarker::Slot = -1

Definition at line 60 of file EventTypes.hpp.

Referenced by From().

◆ StartX

int VoltMod::AddBulletHitMarker::StartX = 0

Definition at line 68 of file EventTypes.hpp.

◆ StartY

int VoltMod::AddBulletHitMarker::StartY = 0

Definition at line 69 of file EventTypes.hpp.

◆ StartZ

int VoltMod::AddBulletHitMarker::StartZ = 0

Definition at line 70 of file EventTypes.hpp.


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