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

#include <EventTypes.hpp>

Static Public Member Functions

static DefuserPickup From (IGameEvent &e)
 

Public Attributes

int Entityid = 0
 defuser's entity ID
 
int Slot = -1
 player who picked up the defuser
 

Static Public Attributes

static constexpr std::string_view EventName = "defuser_pickup"
 

Detailed Description

Definition at line 433 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 415 of file EventTypes.cpp.

References Entityid, and VoltMod::ReadFile().

Member Data Documentation

◆ Entityid

int VoltMod::DefuserPickup::Entityid = 0

defuser's entity ID

Definition at line 436 of file EventTypes.hpp.

Referenced by From().

◆ EventName

constexpr std::string_view VoltMod::DefuserPickup::EventName = "defuser_pickup"
staticconstexpr

Definition at line 435 of file EventTypes.hpp.

◆ Slot

int VoltMod::DefuserPickup::Slot = -1

player who picked up the defuser

Definition at line 437 of file EventTypes.hpp.


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