VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VoltMod::ServerCommand::Impl Struct Referencefinal
+ Inheritance diagram for VoltMod::ServerCommand::Impl:

Public Member Functions

 Impl (std::string_view name, std::string_view helpText, Handler handler, uint64 flags)
 
void CommandCallback (const CCommandContext &context, const CCommand &command) override
 

Public Attributes

Handler _handler
 
std::string _name
 
std::string _help
 
ConCommand _command
 

Detailed Description

Definition at line 9 of file ServerCommand.cpp.

Constructor & Destructor Documentation

◆ Impl()

VoltMod::ServerCommand::Impl::Impl ( std::string_view  name,
std::string_view  helpText,
Handler  handler,
uint64  flags 
)
inline

Definition at line 11 of file ServerCommand.cpp.

Member Function Documentation

◆ CommandCallback()

void VoltMod::ServerCommand::Impl::CommandCallback ( const CCommandContext &  context,
const CCommand &  command 
)
inlineoverride

Definition at line 18 of file ServerCommand.cpp.

References _handler, and VoltMod::ReadFile().

Member Data Documentation

◆ _command

ConCommand VoltMod::ServerCommand::Impl::_command

Definition at line 31 of file ServerCommand.cpp.

◆ _handler

Handler VoltMod::ServerCommand::Impl::_handler

Definition at line 26 of file ServerCommand.cpp.

Referenced by CommandCallback().

◆ _help

std::string VoltMod::ServerCommand::Impl::_help

Definition at line 30 of file ServerCommand.cpp.

◆ _name

std::string VoltMod::ServerCommand::Impl::_name

Definition at line 29 of file ServerCommand.cpp.


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