isle-portable/LEGO1/mxentity.h
Joshua Peisach ff13dc691c
Start IslePathActor (#93)
* Start IslePathActor

* Update types/add needed type in LegoPathActor for Pizza

Yes, this is a recommit because last time I pushed my cmake dir

* Fix types in  islepathactor

* Adjust variables

* add size asserts

---------

Co-authored-by: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
2023-08-03 11:10:54 -07:00

35 lines
703 B
C++

#ifndef MXENTITY_H
#define MXENTITY_H
#include "decomp.h"
#include "mxatomid.h"
#include "mxcore.h"
#include "mxtypes.h"
// VTABLE 0x100d5390
// SIZE 0x68 or less
class MxEntity : public MxCore
{
public:
MxEntity();
virtual ~MxEntity() override;
// OFFSET: LEGO1 0x1000c180
inline virtual const char* ClassName() const override // vtable+0xc
{
// 0x100f0070
return "MxEntity";
}
// OFFSET: LEGO1 0x1000c190
inline virtual MxBool IsA(const char *name) const override // vtable+0x10
{
return !strcmp(name, MxEntity::ClassName()) || MxCore::IsA(name);
}
private:
MxS32 m_mxEntityId; // 0x8
MxAtomId m_atom; // 0xc
undefined m_unk10[0x58];
};
#endif // MXENTITY_H