35 lines
880 B
C++
35 lines
880 B
C++
#pragma once
|
|
|
|
#include "ServerInfo.h"
|
|
|
|
class GuildServerInfo : public ServerInfo
|
|
{
|
|
public:
|
|
GuildServerInfo(void);
|
|
~GuildServerInfo(void);
|
|
|
|
private:
|
|
int m_nConnectionCount;
|
|
int m_nConnectionType[MAX_GUILD_CONNECT];
|
|
_IOHANDLER m_ServerHandler;
|
|
_COMMON m_Common;
|
|
|
|
public:
|
|
virtual void LoadScript( CString strFilePath );
|
|
virtual void SaveScript( CString strFilePath );
|
|
//Load
|
|
void LoadCommonInfo( CString strFilePath );
|
|
void LoadServerInfo( CString strFilePath );
|
|
void LoadConnectInfo( CString strFilePath );
|
|
//Save
|
|
void SaveCommonInfo( CString strFilePath );
|
|
void SaveServerInfo( CString strFilePath );
|
|
void SaveConnectInfo( CString strFilePath );
|
|
|
|
_COMMON* GetCommonInfo(){ return &m_Common;}
|
|
_IOHANDLER* GetServerInfo(){ return &m_ServerHandler;}
|
|
int GetConnectionType( int nNum );
|
|
int GetConnectionCount(){ return m_nConnectionCount; }
|
|
|
|
};
|