re3/src/entities/Dummy.h
2019-06-30 13:59:55 +03:00

23 lines
525 B
C++

#pragma once
#include "Lists.h"
#include "Entity.h"
class CDummy : public CEntity
{
public:
CEntryInfoList m_entryInfoList;
CDummy(void) { m_type = ENTITY_TYPE_DUMMY; }
void Add(void);
void Remove(void);
static void *operator new(size_t);
static void operator delete(void*, size_t);
// to make patching virtual functions possible
void Add_(void) { CDummy::Add(); }
void Remove_(void) { CDummy::Remove(); }
void dtor(void) { this->CDummy::~CDummy(); }
};
static_assert(sizeof(CDummy) == 0x68, "CDummy: error");