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>
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
#ifndef __SERIALIZE_SIEGEOBJECT_DATA_H__
|
||||
#define __SERIALIZE_SIEGEOBJECT_DATA_H__
|
||||
|
||||
#include "BroadCastSiegeObjectData.h"
|
||||
|
||||
// <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
class CSiegeObject;
|
||||
|
||||
namespace BroadCastSiege
|
||||
{
|
||||
class CSerializeSiegeObjectData
|
||||
{
|
||||
public:
|
||||
CSerializeSiegeObjectData();
|
||||
~CSerializeSiegeObjectData();
|
||||
|
||||
// ==================================================================================
|
||||
// <20>ʱ<EFBFBD>ȭ
|
||||
void Initialize( const CSiegeObject& siegeObject );
|
||||
|
||||
// ==================================================================================
|
||||
// Data <20><> <20><><EFBFBD><EFBFBD>
|
||||
void PrepareData( const CSiegeObject& siegeObject );
|
||||
|
||||
void PrepareBroadCastData( const CSiegeObject& siegeObject );
|
||||
void PrepareDeltaData( const CSiegeObject& siegeObject );
|
||||
void ClearDeltaData() { m_wDeltaBroadCastDataLen = 0; }
|
||||
|
||||
// ==================================================================================
|
||||
// Get <20>Լ<EFBFBD>
|
||||
const CSiegeObjectData& GetSiegeObjectData() { return m_LastSiegeObjectData; }
|
||||
|
||||
const char* GetBroadCastData() { return m_aryBroadCastData; }
|
||||
unsigned short GetBroadCastDataLen() { return m_wBroadCastDataLen; }
|
||||
|
||||
const char* GetDeltaData() { return m_aryDeltaBroadCastData; }
|
||||
unsigned short GetDeltaDataLen() { return m_wDeltaBroadCastDataLen; }
|
||||
|
||||
private:
|
||||
CSiegeObjectData m_LastSiegeObjectData;
|
||||
|
||||
unsigned short m_wBroadCastDataLen;
|
||||
unsigned short m_wDeltaBroadCastDataLen;
|
||||
|
||||
char m_aryBroadCastData[ MAX_SIEGEOBJECT_DATA_SIZE ];
|
||||
char m_aryDeltaBroadCastData[ MAX_SIEGEOBJECT_DATA_SIZE ];
|
||||
};
|
||||
}
|
||||
|
||||
#endif __SERIALIZE_SIEGEOBJECT_DATA_H__
|
||||
Reference in New Issue
Block a user