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

#include <EventTypes.hpp>

Static Public Member Functions

static LootCrateOpened From (IGameEvent &e)
 

Public Attributes

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

Static Public Attributes

static constexpr std::string_view EventName = "loot_crate_opened"
 

Detailed Description

Definition at line 1221 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 1157 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::LootCrateOpened::EventName = "loot_crate_opened"
staticconstexpr

Definition at line 1223 of file EventTypes.hpp.

◆ Slot

int VoltMod::LootCrateOpened::Slot = -1

player entindex

Definition at line 1224 of file EventTypes.hpp.

Referenced by From().

◆ Type

std::string VoltMod::LootCrateOpened::Type

type of crate (metal, wood, or paradrop)

Definition at line 1225 of file EventTypes.hpp.


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