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

#include <EventTypes.hpp>

Static Public Member Functions

static DmBonusWeaponStart From (IGameEvent &e)
 

Public Attributes

int Time = 0
 The length of time that this bonus lasts.
 
int Pos = 0
 Loadout position of the bonus weapon.
 

Static Public Attributes

static constexpr std::string_view EventName = "dm_bonus_weapon_start"
 

Detailed Description

Definition at line 475 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 450 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Time.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::DmBonusWeaponStart::EventName = "dm_bonus_weapon_start"
staticconstexpr

Definition at line 477 of file EventTypes.hpp.

◆ Pos

int VoltMod::DmBonusWeaponStart::Pos = 0

Loadout position of the bonus weapon.

Definition at line 479 of file EventTypes.hpp.

◆ Time

int VoltMod::DmBonusWeaponStart::Time = 0

The length of time that this bonus lasts.

Definition at line 478 of file EventTypes.hpp.

Referenced by From().


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