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

#include <EventTypes.hpp>

Static Public Member Functions

static InstructorStartLesson 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.
 
int HintTarget = 0
 entity id that the hint should display at. Leave empty if controller target
 
int VrMovementType = 0
 
bool VrSingleController = false
 
int VrControllerType = 0
 

Static Public Attributes

static constexpr std::string_view EventName = "instructor_start_lesson"
 

Detailed Description

Definition at line 1108 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 1049 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::InstructorStartLesson::EventName = "instructor_start_lesson"
staticconstexpr

Definition at line 1110 of file EventTypes.hpp.

◆ HintName

std::string VoltMod::InstructorStartLesson::HintName

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

Definition at line 1112 of file EventTypes.hpp.

◆ HintTarget

int VoltMod::InstructorStartLesson::HintTarget = 0

entity id that the hint should display at. Leave empty if controller target

Definition at line 1113 of file EventTypes.hpp.

◆ Slot

int VoltMod::InstructorStartLesson::Slot = -1

The player who this lesson is intended for.

Definition at line 1111 of file EventTypes.hpp.

Referenced by From().

◆ VrControllerType

int VoltMod::InstructorStartLesson::VrControllerType = 0

Definition at line 1116 of file EventTypes.hpp.

◆ VrMovementType

int VoltMod::InstructorStartLesson::VrMovementType = 0

Definition at line 1114 of file EventTypes.hpp.

◆ VrSingleController

bool VoltMod::InstructorStartLesson::VrSingleController = false

Definition at line 1115 of file EventTypes.hpp.


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