Files
Client/Server/ManageTool/ManageLibrary/Setup/SetupClient.h
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

40 lines
948 B
C++

#ifndef _GM_NETWORK_MANAGE_SETUP_CLIENT_H_
#define _GM_NETWORK_MANAGE_SETUP_CLIENT_H_
#include <Network/Address/INET_Addr.h>
namespace ManageSetup
{
class ClientSetup
{
public:
static ClientSetup& GetInstance();
bool SerializeIn(const char* szData_In, unsigned long dwDataLen_In);
bool SerializeOut(char* szData_InOut, unsigned long& dwDataLen_InOut);
unsigned long GetExpectedSerializedDataSize();
void Load(const char* szSetupFileName = ClientSetup::GetInstance().GetSetupFileName());
void Save(const char* szSetupFileName = ClientSetup::GetInstance().GetSetupFileName());
const char* GetSetupFileName() { return m_szSetupFileName; }
void SetSetupFileName(const char* szSetupFileName);
INET_Addr& GetManageServerAddr() { return m_ManageServerAddr; }
private:
ClientSetup();
~ClientSetup();
INET_Addr m_ManageServerAddr;
char m_szSetupFileName[MAX_PATH];
};
};
#endif