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

#include <EventTypes.hpp>

Static Public Member Functions

static PlayerAvengedTeammate From (IGameEvent &e)
 

Public Attributes

int AvengerIdSlot = -1
 
int AvengedPlayerIdSlot = -1
 

Static Public Attributes

static constexpr std::string_view EventName = "player_avenged_teammate"
 

Detailed Description

Definition at line 1367 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 1294 of file EventTypes.cpp.

References AvengerIdSlot, and VoltMod::ReadFile().

Member Data Documentation

◆ AvengedPlayerIdSlot

int VoltMod::PlayerAvengedTeammate::AvengedPlayerIdSlot = -1

Definition at line 1371 of file EventTypes.hpp.

◆ AvengerIdSlot

int VoltMod::PlayerAvengedTeammate::AvengerIdSlot = -1

Definition at line 1370 of file EventTypes.hpp.

Referenced by From().

◆ EventName

constexpr std::string_view VoltMod::PlayerAvengedTeammate::EventName = "player_avenged_teammate"
staticconstexpr

Definition at line 1369 of file EventTypes.hpp.


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