LosaDev source snapshot 2019
This commit is contained in:
commit
c198676e97
20588 files changed
+8812878
No files matched your search
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
|
||||
class cCommand;
|
||||
|
||||
class cCommandHandler
|
||||
{
|
||||
public:
|
||||
cCommandHandler();
|
||||
virtual ~cCommandHandler();
|
||||
|
||||
void Init();
|
||||
void Destroy();
|
||||
|
||||
protected:
|
||||
void LoadCommand();
|
||||
void InsertCommand(const uint32 commandId, cCommand* command);
|
||||
|
||||
public:
|
||||
cCommand* Get(const uint32 commandId);
|
||||
|
||||
protected:
|
||||
typedef std::vector<cCommand*> COMMMANDTABLE;
|
||||
COMMMANDTABLE m_commandTable;
|
||||
};
|
||||
Reference in new issue
Block a user