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

A Button press inside a custom HUD layout. More...

#include <ButtonPress.hpp>

Public Attributes

int Slot = -1
 the client that pressed, whatever pawn it is watching
 
std::string ButtonId
 the Button's id attribute; client-controlled text
 

Detailed Description

A Button press inside a custom HUD layout.

Raised on the game frame after it arrives, not from inside inbound message processing, so a handler may write to the layout or any other entity.

Definition at line 14 of file ButtonPress.hpp.

Member Data Documentation

◆ ButtonId

std::string VoltMod::ButtonPress::ButtonId

the Button's id attribute; client-controlled text

Definition at line 17 of file ButtonPress.hpp.

◆ Slot

int VoltMod::ButtonPress::Slot = -1

the client that pressed, whatever pawn it is watching

Definition at line 16 of file ButtonPress.hpp.


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