Files
LGram16 dd97ddec92 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>
2025-11-29 20:17:20 +09:00

25 lines
537 B
C++

#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