20 lines
383 B
C++
20 lines
383 B
C++
#pragma once
|
|
|
|
#include <Singleton.h>
|
|
#include <BaseParser.h>
|
|
#include "ServerStruct.h"
|
|
|
|
class ServerScriptParser : public BaseParser, public Singleton<ServerScriptParser>
|
|
{
|
|
public:
|
|
ServerScriptParser(void);
|
|
~ServerScriptParser(void);
|
|
|
|
public:
|
|
BOOL Load( const TCHAR* pszFileName );
|
|
SERVER_ENV* GetServerEnv(){ return &m_ServerEnv; }
|
|
|
|
private:
|
|
SERVER_ENV m_ServerEnv;
|
|
};
|