24 virtual int Start(
const char *pFilename,
const char *pMap,
const SHA256_DIGEST &MapSha256,
const char *pName) = 0;
25 virtual void Stop(
int Ticks,
int Time) = 0;
27 virtual void WriteData(
int Type,
const void *pData,
size_t Size) = 0;
37 virtual bool Load(
const char *pFilename,
const char *pMap,
const SHA256_DIGEST &MapSha256,
unsigned MapCrc) = 0;
43 virtual bool ReadData(
int Type,
void *pData,
size_t Size) = 0;
int m_NumTicks
Definition: ghost.h:14
char m_aMap[64]
Definition: ghost.h:13
char m_aOwner[MAX_NAME_LENGTH]
Definition: ghost.h:12
int m_Time
Definition: ghost.h:15
virtual bool GetGhostInfo(const char *pFilename, CGhostInfo *pInfo, const char *pMap, const SHA256_DIGEST &MapSha256, unsigned MapCrc)=0
virtual bool Load(const char *pFilename, const char *pMap, const SHA256_DIGEST &MapSha256, unsigned MapCrc)=0
virtual const CGhostInfo * GetInfo() const =0
virtual bool ReadData(int Type, void *pData, size_t Size)=0
virtual bool ReadNextType(int *pType)=0
virtual void Stop(int Ticks, int Time)=0
virtual int Start(const char *pFilename, const char *pMap, const SHA256_DIGEST &MapSha256, const char *pName)=0
virtual void WriteData(int Type, const void *pData, size_t Size)=0
virtual bool IsRecording() const =0
@ MAX_NAME_LENGTH
Definition: protocol.h:97
#define MACRO_INTERFACE(Name)
Definition: kernel.h:25