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

#include <EventTypes.hpp>

Static Public Member Functions

static HltvChase From (IGameEvent &e)
 

Public Attributes

int Target1Slot = -1
 primary traget index
 
int Target2Slot = -1
 secondary traget index or 0
 
int Distance = 0
 camera distance
 
int Theta = 0
 view angle horizontal
 
int Phi = 0
 view angle vertical
 
int Inertia = 0
 camera inertia
 
int Ineye = 0
 diretcor suggests to show ineye
 

Static Public Attributes

static constexpr std::string_view EventName = "hltv_chase"
 

Detailed Description

shot of a single entity

Definition at line 860 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 812 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Target1Slot.

Member Data Documentation

◆ Distance

int VoltMod::HltvChase::Distance = 0

camera distance

Definition at line 865 of file EventTypes.hpp.

◆ EventName

constexpr std::string_view VoltMod::HltvChase::EventName = "hltv_chase"
staticconstexpr

Definition at line 862 of file EventTypes.hpp.

◆ Inertia

int VoltMod::HltvChase::Inertia = 0

camera inertia

Definition at line 868 of file EventTypes.hpp.

◆ Ineye

int VoltMod::HltvChase::Ineye = 0

diretcor suggests to show ineye

Definition at line 869 of file EventTypes.hpp.

◆ Phi

int VoltMod::HltvChase::Phi = 0

view angle vertical

Definition at line 867 of file EventTypes.hpp.

◆ Target1Slot

int VoltMod::HltvChase::Target1Slot = -1

primary traget index

Definition at line 863 of file EventTypes.hpp.

Referenced by From().

◆ Target2Slot

int VoltMod::HltvChase::Target2Slot = -1

secondary traget index or 0

Definition at line 864 of file EventTypes.hpp.

◆ Theta

int VoltMod::HltvChase::Theta = 0

view angle horizontal

Definition at line 866 of file EventTypes.hpp.


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