42 lines
1.1 KiB
C++
42 lines
1.1 KiB
C++
#pragma once
|
|
|
|
#include "ServerInfo.h"
|
|
|
|
class WorldServerInfo : public ServerInfo
|
|
{
|
|
public:
|
|
WorldServerInfo(void);
|
|
~WorldServerInfo(void);
|
|
|
|
private:
|
|
_COMMON m_Common;
|
|
_LOGFILE m_LogFile;
|
|
_IOHANDLER m_ServerHandler;
|
|
_IOHANDLER m_ClientHandler;
|
|
_CHATLOG m_ChatLog;
|
|
|
|
public:
|
|
virtual void LoadScript( CString strFilePath );
|
|
virtual void SaveScript( CString strFilePath );
|
|
|
|
//Load
|
|
void LoadCommonInfo( CString strFilePath );
|
|
void LoadLogfileInfo( CString strFilePath );
|
|
void LoadServerInfo( CString strFilePath );
|
|
void LoadClientInfo( CString strFilePath );
|
|
void LoadChatLog( CString strFilePath );
|
|
//Save
|
|
void SaveCommonInfo( CString strFilePath );
|
|
void SaveLogfileInfo( CString strFilePath );
|
|
void SaveServerInfo( CString strFilePath );
|
|
void SaveClientInfo( CString strFilePath );
|
|
void SaveChatLog( CString strFilePath );
|
|
|
|
|
|
_COMMON* GetCommonInfo(){ return &m_Common;}
|
|
_LOGFILE* GetLogfileInfo(){ return &m_LogFile; }
|
|
_IOHANDLER* GetServerInfo(){ return &m_ServerHandler;}
|
|
_IOHANDLER* GetClientInfo(){ return &m_ClientHandler;}
|
|
_CHATLOG* GetChatLog(){ return &m_ChatLog; }
|
|
};
|