Files
Leviathan/Client/Game/game/DB/SLocalCommandDB.h
T
2026-06-01 12:46:52 +02:00

32 lines
592 B
C++

#pragma once
//#include <string>
#include <map>
class SLocalCommandDB
{
public:
~SLocalCommandDB() {};
void Load();
std::string Convert( const char* szCommand ) const;
private:
// SLocalCommandDB();
typedef std::map < std::string, std::string > mapCommand;
typedef mapCommand::iterator imapCommand;
typedef mapCommand::const_iterator cimapCommand;
mapCommand m_mapLocalCommand;
void Parse( const char* pContents, size_t sz );
friend SLocalCommandDB& GetLocalCommandDB();
public:
static SLocalCommandDB* m_pThis;
SLocalCommandDB();
};
SLocalCommandDB& GetLocalCommandDB();