#include <RakNetCommandParser.h>
Inheritance diagram for RakNetCommandParser:
Public Member Functions | |
bool | OnCommand (const char *command, unsigned numParameters, char **parameterList, TransportInterface *transport, PlayerID playerId, const char *originalString) |
char * | GetName (void) const |
void | SendHelp (TransportInterface *transport, PlayerID playerId) |
void | SetRakPeerInterface (RakPeerInterface *rakPeer) |
Protected Attributes | |
RakPeerInterface * | peer |
Which instance of RakPeer we are working on. Set from SetRakPeerInterface(). |
|
You are responsible for overriding this function and returning a static string, which will identifier your parser. This should return a static string
Implements CommandParserInterface. |
|
Given command with parameters parameterList , do whatever processing you wish.
Implements CommandParserInterface. |
|
A callback for when you are expected to send a brief description of your parser to playerId
Implements CommandParserInterface. |
|
Records the instance of RakPeer to perform the desired commands on |