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

#include <EventTypes.hpp>

Static Public Member Functions

static EnterBuyzone From (IGameEvent &e)
 

Public Attributes

int Slot = -1
 
bool Canbuy = false
 

Static Public Attributes

static constexpr std::string_view EventName = "enter_buyzone"
 

Detailed Description

Definition at line 616 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 584 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ Canbuy

bool VoltMod::EnterBuyzone::Canbuy = false

Definition at line 620 of file EventTypes.hpp.

◆ EventName

constexpr std::string_view VoltMod::EnterBuyzone::EventName = "enter_buyzone"
staticconstexpr

Definition at line 618 of file EventTypes.hpp.

◆ Slot

int VoltMod::EnterBuyzone::Slot = -1

Definition at line 619 of file EventTypes.hpp.

Referenced by From().


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