2023-06-29 04:10:08 -04:00
|
|
|
#ifndef BUILDINGENTITY_H
|
|
|
|
#define BUILDINGENTITY_H
|
|
|
|
|
|
|
|
#include "legoentity.h"
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d5c88
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE <= 0x68, hard to tell because it's always constructed as a derivative
|
2023-10-24 19:38:27 -04:00
|
|
|
class BuildingEntity : public LegoEntity {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
BuildingEntity();
|
|
|
|
virtual ~BuildingEntity() override; // vtable+0x0
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x10014f20
|
2023-10-24 19:38:27 -04:00
|
|
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
|
|
|
{
|
2023-12-27 15:59:42 -05:00
|
|
|
// STRING: LEGO1 0x100f07e8
|
2023-10-24 19:38:27 -04:00
|
|
|
return "BuildingEntity";
|
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x10014f30
|
2023-12-13 05:48:14 -05:00
|
|
|
inline virtual MxBool IsA(const char* p_name) const override // vtable+0x10
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
2023-12-13 05:48:14 -05:00
|
|
|
return !strcmp(p_name, BuildingEntity::ClassName()) || LegoEntity::IsA(p_name);
|
2023-10-24 19:38:27 -04:00
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // BUILDINGENTITY_H
|