summaryrefslogtreecommitdiffstats
path: root/src/entities/Dummy.h
blob: 4cfef2e2363298cf3fc5fb5b5a092c2833458834 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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(); }
};
static_assert(sizeof(CDummy) == 0x68, "CDummy: error");