EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
CommandDispatcher::CommandRecord Class Reference

#include "CommandDispatcher.h"

Collaboration diagram for CommandDispatcher::CommandRecord:

Public Member Functions

 CommandRecord (const char *cmd, const char *desc, int64 req_role, CommandFunc &callback)
 

Public Attributes

std::string command
 
std::string description
 
int64 required_role
 
CommandFunc function
 

Detailed Description

Definition at line 17 of file CommandDispatcher.h.

Constructor & Destructor Documentation

CommandDispatcher::CommandRecord::CommandRecord ( const char *  cmd,
const char *  desc,
int64  req_role,
CommandFunc callback 
)
inline

Definition at line 19 of file CommandDispatcher.h.

20  : command(cmd), description(desc), required_role(req_role), function(callback) {}

Member Data Documentation

std::string CommandDispatcher::CommandRecord::command

Definition at line 22 of file CommandDispatcher.h.

Referenced by CommandDispatcher::Execute().

std::string CommandDispatcher::CommandRecord::description

Definition at line 23 of file CommandDispatcher.h.

CommandFunc CommandDispatcher::CommandRecord::function

Definition at line 25 of file CommandDispatcher.h.

Referenced by CommandDispatcher::Execute().

int64 CommandDispatcher::CommandRecord::required_role

Definition at line 24 of file CommandDispatcher.h.

Referenced by CommandDispatcher::Execute().


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