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

#include <EventTypes.hpp>

Static Public Member Functions

static BotTakeover From (IGameEvent &e)
 

Public Attributes

int Slot = -1
 
int BotidSlot = -1
 
float P = 0.0f
 
float Y = 0.0f
 
float R = 0.0f
 

Static Public Attributes

static constexpr std::string_view EventName = "bot_takeover"
 

Detailed Description

Definition at line 204 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 202 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ BotidSlot

int VoltMod::BotTakeover::BotidSlot = -1

Definition at line 208 of file EventTypes.hpp.

◆ EventName

constexpr std::string_view VoltMod::BotTakeover::EventName = "bot_takeover"
staticconstexpr

Definition at line 206 of file EventTypes.hpp.

◆ P

float VoltMod::BotTakeover::P = 0.0f

Definition at line 209 of file EventTypes.hpp.

◆ R

float VoltMod::BotTakeover::R = 0.0f

Definition at line 211 of file EventTypes.hpp.

◆ Slot

int VoltMod::BotTakeover::Slot = -1

Definition at line 207 of file EventTypes.hpp.

Referenced by From().

◆ Y

float VoltMod::BotTakeover::Y = 0.0f

Definition at line 210 of file EventTypes.hpp.


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