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

#include <EventTypes.hpp>

Static Public Member Functions

static AchievementEvent From (IGameEvent &e)
 

Public Attributes

std::string AchievementName
 non-localized name of achievement
 
int CurVal = 0
 
int MaxVal = 0
 total # of steps in achievement
 

Static Public Attributes

static constexpr std::string_view EventName = "achievement_event"
 

Detailed Description

Definition at line 36 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 40 of file EventTypes.cpp.

References AchievementName, and VoltMod::ReadFile().

Member Data Documentation

◆ AchievementName

std::string VoltMod::AchievementEvent::AchievementName

non-localized name of achievement

Definition at line 39 of file EventTypes.hpp.

Referenced by From().

◆ CurVal

int VoltMod::AchievementEvent::CurVal = 0

of steps toward achievement

Definition at line 40 of file EventTypes.hpp.

◆ EventName

constexpr std::string_view VoltMod::AchievementEvent::EventName = "achievement_event"
staticconstexpr

Definition at line 38 of file EventTypes.hpp.

◆ MaxVal

int VoltMod::AchievementEvent::MaxVal = 0

total # of steps in achievement

Definition at line 41 of file EventTypes.hpp.


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