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

The RunCommand hook for every plugin: each command is decoded once, and only while a plugin listens. Game thread only. More...

#include <PlayerCommands.hpp>

Public Member Functions

 PlayerCommands (const Bindings &bindings, PluginRegistry &registry)
 PlayerCommands (const PlayerCommands &)=delete
PlayerCommands & operator= (const PlayerCommands &)=delete

Detailed Description

The RunCommand hook for every plugin: each command is decoded once, and only while a plugin listens. Game thread only.

Definition at line 17 of file PlayerCommands.hpp.

Constructor & Destructor Documentation

◆ PlayerCommands() [1/2]

VoltMod::PlayerCommands::PlayerCommands ( const Bindings & bindings,
PluginRegistry & registry )

bindings and registry must outlive this.

Definition at line 29 of file PlayerCommands.cpp.

References VoltMod::Log::Warn().

Referenced by operator=(), and PlayerCommands().

◆ PlayerCommands() [2/2]

VoltMod::PlayerCommands::PlayerCommands ( const PlayerCommands & )
delete

References PlayerCommands().

Member Function Documentation

◆ operator=()

PlayerCommands & VoltMod::PlayerCommands::operator= ( const PlayerCommands & )
delete

References PlayerCommands().


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