summaryrefslogblamecommitdiffstats
path: root/src/entities/Dummy.h
blob: 59359bb542975384799cb29bd08728927bc0cb16 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                       
                                                    

                          
 

                                                   



                                                      
                                                    

                                                       
#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");