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

#include <EventTypes.hpp>

Static Public Member Functions

static InstructorCloseLesson From (IGameEvent &e)
 

Public Attributes

int Slot = -1
 The player who this lesson is intended for.
 
std::string HintName
 Name of the lesson to start. Must match instructor_lesson.txt.
 

Static Public Attributes

static constexpr std::string_view EventName = "instructor_close_lesson"
 

Detailed Description

Definition at line 1063 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 1008 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::InstructorCloseLesson::EventName = "instructor_close_lesson"
staticconstexpr

Definition at line 1065 of file EventTypes.hpp.

◆ HintName

std::string VoltMod::InstructorCloseLesson::HintName

Name of the lesson to start. Must match instructor_lesson.txt.

Definition at line 1067 of file EventTypes.hpp.

◆ Slot

int VoltMod::InstructorCloseLesson::Slot = -1

The player who this lesson is intended for.

Definition at line 1066 of file EventTypes.hpp.

Referenced by From().


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