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

#include <EventTypes.hpp>

Static Public Member Functions

static DzItemInteraction From (IGameEvent &e)
 

Public Attributes

int Slot = -1
 player entindex
 
int Subject = 0
 crate entindex
 
std::string Type
 type of crate (metal, wood, or paradrop)
 

Static Public Attributes

static constexpr std::string_view EventName = "dz_item_interaction"
 

Detailed Description

Definition at line 568 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 537 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::DzItemInteraction::EventName = "dz_item_interaction"
staticconstexpr

Definition at line 570 of file EventTypes.hpp.

◆ Slot

int VoltMod::DzItemInteraction::Slot = -1

player entindex

Definition at line 571 of file EventTypes.hpp.

Referenced by From().

◆ Subject

int VoltMod::DzItemInteraction::Subject = 0

crate entindex

Definition at line 572 of file EventTypes.hpp.

◆ Type

std::string VoltMod::DzItemInteraction::Type

type of crate (metal, wood, or paradrop)

Definition at line 573 of file EventTypes.hpp.


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