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

#include <EventTypes.hpp>

Static Public Member Functions

static GgKilledEnemy From (IGameEvent &e)

Public Attributes

int VictimidSlot = -1
 user ID who died
int AttackeridSlot = -1
 user ID who killed
int Dominated = 0
 did killer dominate victim with this kill
int Revenge = 0
 did killer get revenge on victim with this kill
bool Bonus = false
 did killer kill with a bonus weapon?

Static Public Attributes

static constexpr std::string_view EventName = "gg_killed_enemy"

Detailed Description

Definition at line 787 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 744 of file EventTypes.cpp.

Member Data Documentation

◆ AttackeridSlot

int VoltMod::GgKilledEnemy::AttackeridSlot = -1

user ID who killed

Definition at line 791 of file EventTypes.hpp.

◆ Bonus

bool VoltMod::GgKilledEnemy::Bonus = false

did killer kill with a bonus weapon?

Definition at line 794 of file EventTypes.hpp.

◆ Dominated

int VoltMod::GgKilledEnemy::Dominated = 0

did killer dominate victim with this kill

Definition at line 792 of file EventTypes.hpp.

◆ EventName

std::string_view VoltMod::GgKilledEnemy::EventName = "gg_killed_enemy"
staticconstexpr

Definition at line 789 of file EventTypes.hpp.

◆ Revenge

int VoltMod::GgKilledEnemy::Revenge = 0

did killer get revenge on victim with this kill

Definition at line 793 of file EventTypes.hpp.

◆ VictimidSlot

int VoltMod::GgKilledEnemy::VictimidSlot = -1

user ID who died

Definition at line 790 of file EventTypes.hpp.


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