Restructure repository to include all source folders
Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
25
Server/AdminTool/AdminToolLibrary/parser/ServerInfo.h
Normal file
25
Server/AdminTool/AdminToolLibrary/parser/ServerInfo.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#ifndef _SERVER_INFO_H_
|
||||
#define _SERVER_INFO_H_
|
||||
|
||||
#include <Pattern/Singleton.h>
|
||||
|
||||
// ½ºÅ©¸³Æ® ÆÄÀÏ ( Key = Value )
|
||||
class CServerInfo : public CStaticSingleton<CServerInfo>
|
||||
{
|
||||
public:
|
||||
|
||||
CServerInfo();
|
||||
~CServerInfo();
|
||||
|
||||
bool Reload(const char* szFileName = ms_szInfoFileName);
|
||||
const char* GetValue(const char* szKeyName);
|
||||
const char* GetFileName();
|
||||
private:
|
||||
|
||||
typedef std::map<std::string, std::string> ServerInfoTable;
|
||||
|
||||
ServerInfoTable m_ServerInfoTable;
|
||||
static const char* ms_szInfoFileName;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user