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

47 lines
1.6 KiB
C++

#ifndef _RYLAGENTSERVERPARSEDATA_H_
#define _RYLAGENTSERVERPARSEDATA_H_
class CSession;
class CModifyCharacter;
/*!
\class CAgentServerParseData
중계서버에서 받은 캐릭터 정보 파싱
*/
class CAgentServerParseData
{
public:
struct SendInfo
{
unsigned __int64 m_dwSerial;
unsigned long m_dwUID;
unsigned long m_dwCID;
unsigned long m_dwRequestKey;
};
void SetSession(CSession* lpSession) { m_lpSession = lpSession; }
public:
bool PARSE_CHAR_BASIC_DATA(CModifyCharacter* lpCharacter, char* lpDataBuffer);
bool PARSE_CHAR_EXTRA_DATA(CModifyCharacter* lpCharacter, char* lpDataBuffer);
bool PARSE_CHAR_FRIEND_DATA(CModifyCharacter* lpCharacter, char* lpDataBuffer, unsigned short PaseLength);
bool PARSE_CHAR_BAN_DATA(CModifyCharacter* lpCharacter, char* lpDataBuffer, unsigned short PaseLength);
bool PARSE_STORE_12_DATA(CModifyCharacter* lpCharacter, char* lpDataBuffer);
bool PARSE_STORE_34_DATA(CModifyCharacter* lpCharacter, char* lpDataBuffer);
bool UpdateCharacter(CModifyCharacter* lpChar, unsigned __int64 dwSerial,
unsigned long dwUID, unsigned long dwCID, unsigned long dwRequestKey);
bool SEND_CHAR_BASIC_DATA(CModifyCharacter* lpChar, SendInfo& SetData);
bool SEND_CHAR_EXTRA_DATA(CModifyCharacter* lpChar, SendInfo& SetData);
bool SEND_CHAR_FRIEND_DATA(CModifyCharacter* lpChar, SendInfo& SetData);
bool SEND_CHAR_BAN_DATA(CModifyCharacter* lpChar, SendInfo& SetData);
bool SEND_STORE_12_DATA(CModifyCharacter* lpChar, SendInfo& SetData);
bool SEND_STORE_34_DATA(CModifyCharacter* lpChar, SendInfo& SetData);
bool SEND_FINISH_UPDATE_DATA(SendInfo& SetData, unsigned char cOldServerGroupID);
private:
CSession* m_lpSession;
};
#endif