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

#include <EventTypes.hpp>

Static Public Member Functions

static VipKilled From (IGameEvent &e)
 

Public Attributes

int Slot = -1
 player who was the VIP
 
int AttackerSlot = -1
 user ID who killed the VIP
 

Static Public Attributes

static constexpr std::string_view EventName = "vip_killed"
 

Detailed Description

Definition at line 2166 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 2044 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ AttackerSlot

int VoltMod::VipKilled::AttackerSlot = -1

user ID who killed the VIP

Definition at line 2170 of file EventTypes.hpp.

◆ EventName

constexpr std::string_view VoltMod::VipKilled::EventName = "vip_killed"
staticconstexpr

Definition at line 2168 of file EventTypes.hpp.

◆ Slot

int VoltMod::VipKilled::Slot = -1

player who was the VIP

Definition at line 2169 of file EventTypes.hpp.

Referenced by From().


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