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

#include <EventTypes.hpp>

Static Public Member Functions

static TeamplayBroadcastAudio From (IGameEvent &e)
 

Public Attributes

VoltMod::Team Team = VoltMod::Team::None
 unique team id
 
std::string Sound
 name of the sound to emit
 

Static Public Attributes

static constexpr std::string_view EventName = "teamplay_broadcast_audio"
 

Detailed Description

emits a sound to everyone on a team

Definition at line 2077 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 1959 of file EventTypes.cpp.

References VoltMod::ReadFile(), Sound, and Team.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::TeamplayBroadcastAudio::EventName = "teamplay_broadcast_audio"
staticconstexpr

Definition at line 2079 of file EventTypes.hpp.

◆ Sound

std::string VoltMod::TeamplayBroadcastAudio::Sound

name of the sound to emit

Definition at line 2081 of file EventTypes.hpp.

Referenced by From().

◆ Team

VoltMod::Team VoltMod::TeamplayBroadcastAudio::Team = VoltMod::Team::None

unique team id

Definition at line 2080 of file EventTypes.hpp.

Referenced by From().


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