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

#include <EventTypes.hpp>

Static Public Member Functions

static HltvFixed From (IGameEvent &e)
 

Public Attributes

int Posx = 0
 camera position in world
 
int Posy = 0
 
int Posz = 0
 
int Theta = 0
 camera angles
 
int Phi = 0
 
int Offset = 0
 
float Fov = 0.0f
 
int TargetSlot = -1
 follow this player
 

Static Public Attributes

static constexpr std::string_view EventName = "hltv_fixed"
 

Detailed Description

show from fixed view

Definition at line 883 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 833 of file EventTypes.cpp.

References Posx, and VoltMod::ReadFile().

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::HltvFixed::EventName = "hltv_fixed"
staticconstexpr

Definition at line 885 of file EventTypes.hpp.

◆ Fov

float VoltMod::HltvFixed::Fov = 0.0f

Definition at line 892 of file EventTypes.hpp.

◆ Offset

int VoltMod::HltvFixed::Offset = 0

Definition at line 891 of file EventTypes.hpp.

◆ Phi

int VoltMod::HltvFixed::Phi = 0

Definition at line 890 of file EventTypes.hpp.

◆ Posx

int VoltMod::HltvFixed::Posx = 0

camera position in world

Definition at line 886 of file EventTypes.hpp.

Referenced by From().

◆ Posy

int VoltMod::HltvFixed::Posy = 0

Definition at line 887 of file EventTypes.hpp.

◆ Posz

int VoltMod::HltvFixed::Posz = 0

Definition at line 888 of file EventTypes.hpp.

◆ TargetSlot

int VoltMod::HltvFixed::TargetSlot = -1

follow this player

Definition at line 893 of file EventTypes.hpp.

◆ Theta

int VoltMod::HltvFixed::Theta = 0

camera angles

Definition at line 889 of file EventTypes.hpp.


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