27 virtual
void *
GetItem(
int Index,
int *pType =
nullptr,
int *pId =
nullptr) = 0;
28 virtual
void GetType(
int Type,
int *pStart,
int *pNum) = 0;
38 virtual
bool Load(const
char *pMapName) = 0;
39 virtual
void Unload() = 0;
40 virtual
bool IsLoaded() const = 0;
44 virtual
unsigned Crc() const = 0;
45 virtual
int MapSize() const = 0;
virtual int NumData() const =0
virtual void * GetItem(int Index, int *pType=nullptr, int *pId=nullptr)=0
virtual int GetItemSize(int Index)=0
virtual const char * GetDataString(int Index)=0
virtual void * GetData(int Index)=0
virtual void * GetDataSwapped(int Index)=0
virtual int GetDataSize(int Index) const =0
virtual void GetType(int Type, int *pStart, int *pNum)=0
virtual int NumItems() const =0
virtual void * FindItem(int Type, int Id)=0
virtual void UnloadData(int Index)=0
virtual int FindItemIndex(int Type, int Id)=0
#define MACRO_INTERFACE(Name)
Definition: kernel.h:25
void * IOHANDLE
Definition: logger.h:11
@ MAX_MAP_LENGTH
Definition: map.h:12
IEngineMap * CreateEngineMap()
Definition: map.cpp:179