Game client codebase including: - CharacterActionControl: Character and creature management - GlobalScript: Network, items, skills, quests, utilities - RYLClient: Main client application with GUI and event handlers - Engine: 3D rendering engine (RYLGL) - MemoryManager: Custom memory allocation - Library: Third-party dependencies (DirectX, boost, etc.) - Tools: Development utilities 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
35 lines
636 B
C++
35 lines
636 B
C++
#pragma once
|
|
|
|
#include "CrossMHeader.h"
|
|
|
|
namespace CROSSM {
|
|
|
|
class CZ3DByteDataObj
|
|
{
|
|
public:
|
|
CZ3DByteDataObj(void);
|
|
~CZ3DByteDataObj(void);
|
|
|
|
bool LoadByte(const char *strFileName,long lOffset = 0 );
|
|
bool SaveByte(const char *strFileName,long lOffset = 0 );
|
|
|
|
long GetByteSize() { return m_lSize; }
|
|
|
|
long GetReadPos() { return m_lReadPos;}
|
|
void SetReadPos(long lPos) { m_lReadPos = lPos;}
|
|
|
|
unsigned char *GetReadPtr();
|
|
|
|
long Read(void *ptr,size_t UnitSize,int iNum);
|
|
long Write(void *ptr,size_t UnitSize,int iNum);
|
|
|
|
protected:
|
|
|
|
unsigned char *m_pBytes;
|
|
long m_lSize;
|
|
long m_lReadPos;
|
|
|
|
|
|
};
|
|
}
|