LosaDev source snapshot 2019

This commit is contained in:
LosaDev committed 2026-11-07 13:30:45 +07:00
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;
};