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

#include <Targeting.hpp>

Public Attributes

int Slot = -1
 
int64_t SteamId = 0
 
std::string Name
 
VoltMod::Team Team = VoltMod::Team::None
 
bool Alive = false
 
bool Bot = false
 
bool Targetable = true
 policy verdict, precomputed by the caller
 

Detailed Description

Engine-free snapshot of one connected player, for FilterPlayers.

Definition at line 70 of file Targeting.hpp.

Member Data Documentation

◆ Alive

bool VoltMod::PlayerView::Alive = false

Definition at line 76 of file Targeting.hpp.

◆ Bot

bool VoltMod::PlayerView::Bot = false

Definition at line 77 of file Targeting.hpp.

◆ Name

std::string VoltMod::PlayerView::Name

Definition at line 74 of file Targeting.hpp.

◆ Slot

int VoltMod::PlayerView::Slot = -1

Definition at line 72 of file Targeting.hpp.

◆ SteamId

int64_t VoltMod::PlayerView::SteamId = 0

Definition at line 73 of file Targeting.hpp.

◆ Targetable

bool VoltMod::PlayerView::Targetable = true

policy verdict, precomputed by the caller

Definition at line 78 of file Targeting.hpp.

◆ Team

VoltMod::Team VoltMod::PlayerView::Team = VoltMod::Team::None

Definition at line 75 of file Targeting.hpp.


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