2019-05-15 14:52:37 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Entity.h"
|
|
|
|
|
|
|
|
class CBuilding : public CEntity
|
|
|
|
{
|
|
|
|
public:
|
2019-06-18 07:50:26 +00:00
|
|
|
CBuilding(void) {
|
|
|
|
m_type = ENTITY_TYPE_BUILDING;
|
|
|
|
bUsesCollision = true;
|
|
|
|
}
|
2019-05-15 14:52:37 +00:00
|
|
|
static void *operator new(size_t);
|
|
|
|
static void operator delete(void*, size_t);
|
|
|
|
|
2019-06-19 21:41:43 +00:00
|
|
|
void ReplaceWithNewModel(int32 id);
|
|
|
|
|
2019-05-15 14:52:37 +00:00
|
|
|
virtual bool GetIsATreadable(void) { return false; }
|
2019-06-24 20:06:14 +00:00
|
|
|
|
|
|
|
CBuilding *ctor(void) { return ::new (this) CBuilding(); }
|
2019-06-30 10:59:55 +00:00
|
|
|
void dtor(void) { this->CBuilding::~CBuilding(); }
|
2019-05-15 14:52:37 +00:00
|
|
|
};
|
|
|
|
static_assert(sizeof(CBuilding) == 0x64, "CBuilding: error");
|