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

#include <EventTypes.hpp>

Static Public Member Functions

static HltvRankCamera From (IGameEvent &e)
 

Public Attributes

int Index = 0
 fixed camera index
 
float Rank = 0.0f
 ranking, how interesting is this camera view
 
int TargetSlot = -1
 best/closest target entity
 

Static Public Attributes

static constexpr std::string_view EventName = "hltv_rank_camera"
 

Detailed Description

a camera ranking

Definition at line 906 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 854 of file EventTypes.cpp.

References Index, and VoltMod::ReadFile().

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::HltvRankCamera::EventName = "hltv_rank_camera"
staticconstexpr

Definition at line 908 of file EventTypes.hpp.

◆ Index

int VoltMod::HltvRankCamera::Index = 0

fixed camera index

Definition at line 909 of file EventTypes.hpp.

Referenced by From().

◆ Rank

float VoltMod::HltvRankCamera::Rank = 0.0f

ranking, how interesting is this camera view

Definition at line 910 of file EventTypes.hpp.

◆ TargetSlot

int VoltMod::HltvRankCamera::TargetSlot = -1

best/closest target entity

Definition at line 911 of file EventTypes.hpp.


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