Planeshift
COMMAND Struct Reference

This is a little class to store an array of commands and functions to call with each command. More...

#include <command.h>

Public Attributes

bool allowRemote
 
const char * doc
 
cmdfuncptrfunc
 
const char * name
 

Detailed Description

This is a little class to store an array of commands and functions to call with each command.

The allowRemote flag determines whether each command is allowed from a remote console or just from the local console.

Definition at line 39 of file command.h.

Member Data Documentation

bool COMMAND::allowRemote

Definition at line 41 of file command.h.

const char* COMMAND::doc

Definition at line 43 of file command.h.

cmdfuncptr* COMMAND::func

Definition at line 42 of file command.h.

const char* COMMAND::name

Definition at line 40 of file command.h.


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