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

#include <EventTypes.hpp>

Static Public Member Functions

static HltvRankEntity From (IGameEvent &e)
 

Public Attributes

int Slot = -1
 player slot
 
float Rank = 0.0f
 ranking, how interesting is this entity to view
 
int TargetSlot = -1
 best/closest target entity
 

Static Public Attributes

static constexpr std::string_view EventName = "hltv_rank_entity"
 

Detailed Description

an entity ranking

Definition at line 916 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 863 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::HltvRankEntity::EventName = "hltv_rank_entity"
staticconstexpr

Definition at line 918 of file EventTypes.hpp.

◆ Rank

float VoltMod::HltvRankEntity::Rank = 0.0f

ranking, how interesting is this entity to view

Definition at line 920 of file EventTypes.hpp.

◆ Slot

int VoltMod::HltvRankEntity::Slot = -1

player slot

Definition at line 919 of file EventTypes.hpp.

Referenced by From().

◆ TargetSlot

int VoltMod::HltvRankEntity::TargetSlot = -1

best/closest target entity

Definition at line 921 of file EventTypes.hpp.


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