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

#include <EventTypes.hpp>

Static Public Member Functions

static PlayerSound From (IGameEvent &e)
 

Public Attributes

int Slot = -1
 
int Radius = 0
 
float Duration = 0.0f
 
bool Step = false
 

Static Public Attributes

static constexpr std::string_view EventName = "player_sound"
 

Detailed Description

Definition at line 1599 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 1515 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ Duration

float VoltMod::PlayerSound::Duration = 0.0f

Definition at line 1604 of file EventTypes.hpp.

◆ EventName

constexpr std::string_view VoltMod::PlayerSound::EventName = "player_sound"
staticconstexpr

Definition at line 1601 of file EventTypes.hpp.

◆ Radius

int VoltMod::PlayerSound::Radius = 0

Definition at line 1603 of file EventTypes.hpp.

◆ Slot

int VoltMod::PlayerSound::Slot = -1

Definition at line 1602 of file EventTypes.hpp.

Referenced by From().

◆ Step

bool VoltMod::PlayerSound::Step = false

Definition at line 1605 of file EventTypes.hpp.


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