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

#include <EventTypes.hpp>

Static Public Member Functions

static AchievementEarned From (IGameEvent &e)

Public Attributes

int PlayerSlot = -1
 entindex of the player
int Achievement = 0
 achievement ID

Static Public Attributes

static constexpr std::string_view EventName = "achievement_earned"

Detailed Description

Definition at line 20 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 24 of file EventTypes.cpp.

Member Data Documentation

◆ Achievement

int VoltMod::AchievementEarned::Achievement = 0

achievement ID

Definition at line 24 of file EventTypes.hpp.

◆ EventName

std::string_view VoltMod::AchievementEarned::EventName = "achievement_earned"
staticconstexpr

Definition at line 22 of file EventTypes.hpp.

◆ PlayerSlot

int VoltMod::AchievementEarned::PlayerSlot = -1

entindex of the player

Definition at line 23 of file EventTypes.hpp.


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