2019-06-02 15:13:56 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Lists.h"
|
|
|
|
#include "Entity.h"
|
|
|
|
|
|
|
|
class CDummy : public CEntity
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
CEntryInfoList m_entryInfoList;
|
|
|
|
|
2019-06-18 07:50:26 +00:00
|
|
|
CDummy(void) { m_type = ENTITY_TYPE_DUMMY; }
|
2019-06-29 09:09:33 +00:00
|
|
|
void Add(void);
|
|
|
|
void Remove(void);
|
2019-06-18 07:50:26 +00:00
|
|
|
|
2019-06-02 15:13:56 +00:00
|
|
|
static void *operator new(size_t);
|
|
|
|
static void operator delete(void*, size_t);
|
2019-06-29 09:09:33 +00:00
|
|
|
|
|
|
|
// to make patching virtual functions possible
|
|
|
|
void Add_(void) { CDummy::Add(); }
|
|
|
|
void Remove_(void) { CDummy::Remove(); }
|
2019-06-30 10:59:55 +00:00
|
|
|
void dtor(void) { this->CDummy::~CDummy(); }
|
2019-06-02 15:13:56 +00:00
|
|
|
};
|
|
|
|
static_assert(sizeof(CDummy) == 0x68, "CDummy: error");
|