Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
CliCommandHolder Struct Reference

Storage class for commands issued for delayed execution. More...

#include <World.h>

Public Types

typedef void CommandFinished(void *, bool success)
typedef void Print(void *, const char *)

Public Member Functions

 CliCommandHolder (void *callbackArg, const char *command, Print *zprint, CommandFinished *commandFinished)
 ~CliCommandHolder ()

Public Attributes

void * m_callbackArg
char * m_command
CommandFinishedm_commandFinished
Printm_print

Private Member Functions

 CliCommandHolder (CliCommandHolder const &right)=delete
CliCommandHolderoperator= (CliCommandHolder const &right)=delete

Detailed Description

Storage class for commands issued for delayed execution.

Definition at line 523 of file World.h.

Member Typedef Documentation

◆ CommandFinished

typedef void CliCommandHolder::CommandFinished(void *, bool success)

Definition at line 526 of file World.h.

◆ Print

typedef void CliCommandHolder::Print(void *, const char *)

Definition at line 525 of file World.h.

Constructor & Destructor Documentation

◆ CliCommandHolder() [1/2]

CliCommandHolder::CliCommandHolder ( void * callbackArg,
const char * command,
Print * zprint,
CommandFinished * commandFinished )
inline

Definition at line 534 of file World.h.

References commandFinished(), m_callbackArg, m_command, m_commandFinished, and m_print.

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

◆ ~CliCommandHolder()

CliCommandHolder::~CliCommandHolder ( )
inline

Definition at line 537 of file World.h.

References m_command.

◆ CliCommandHolder() [2/2]

CliCommandHolder::CliCommandHolder ( CliCommandHolder const & right)
privatedelete

References CliCommandHolder().

Member Function Documentation

◆ operator=()

CliCommandHolder & CliCommandHolder::operator= ( CliCommandHolder const & right)
privatedelete

References CliCommandHolder().

Member Data Documentation

◆ m_callbackArg

void* CliCommandHolder::m_callbackArg

Definition at line 528 of file World.h.

Referenced by CliCommandHolder(), and World::ProcessCliCommands().

◆ m_command

char* CliCommandHolder::m_command

Definition at line 529 of file World.h.

Referenced by CliCommandHolder(), World::ProcessCliCommands(), and ~CliCommandHolder().

◆ m_commandFinished

CommandFinished* CliCommandHolder::m_commandFinished

Definition at line 532 of file World.h.

Referenced by CliCommandHolder(), and World::ProcessCliCommands().

◆ m_print

Print* CliCommandHolder::m_print

Definition at line 530 of file World.h.

Referenced by CliCommandHolder(), and World::ProcessCliCommands().


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