• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

RakNetCommandParser.h

Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 #include "NativeFeatureIncludes.h"
00009 #if _RAKNET_SUPPORT_RakNetCommandParser==1
00010 
00011 #ifndef __RAKNET_COMMAND_PARSER
00012 #define __RAKNET_COMMAND_PARSER
00013 
00014 #include "CommandParserInterface.h"
00015 #include "Export.h"
00016 class RakPeerInterface;
00017 
00019 class RAK_DLL_EXPORT RakNetCommandParser : public CommandParserInterface
00020 {
00021 public:
00022         RakNetCommandParser();
00023         ~RakNetCommandParser();
00024 
00032         bool OnCommand(const char *command, unsigned numParameters, char **parameterList, TransportInterface *transport, SystemAddress systemAddress, const char *originalString);
00033 
00037         const char *GetName(void) const;
00038 
00042         void SendHelp(TransportInterface *transport, SystemAddress systemAddress);
00043 
00046         void SetRakPeerInterface(RakPeerInterface *rakPeer);
00047 protected:
00048 
00050         RakPeerInterface *peer;
00051 };
00052 
00053 #endif
00054 
00055 #endif // _RAKNET_SUPPORT_*

Generated on Thu Sep 30 2010 01:27:26 for RakNet by  doxygen 1.7.1