2023-06-29 04:10:08 -04:00
|
|
|
#ifndef MXENTITY_H
|
|
|
|
#define MXENTITY_H
|
|
|
|
|
2023-08-03 14:10:54 -04:00
|
|
|
#include "decomp.h"
|
2023-07-16 02:49:47 -04:00
|
|
|
#include "mxatomid.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
#include "mxcore.h"
|
2023-07-16 02:49:47 -04:00
|
|
|
#include "mxtypes.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
|
|
|
|
// VTABLE 0x100d5390
|
2023-08-03 14:10:54 -04:00
|
|
|
// SIZE 0x68 or less
|
2023-06-29 04:10:08 -04:00
|
|
|
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);
|
|
|
|
}
|
2023-08-03 19:43:36 -04:00
|
|
|
|
|
|
|
virtual MxResult SetEntityId(MxS32 p_id, const MxAtomId &p_atom); // vtable+0x14
|
2023-07-16 02:49:47 -04:00
|
|
|
private:
|
|
|
|
MxS32 m_mxEntityId; // 0x8
|
|
|
|
MxAtomId m_atom; // 0xc
|
2023-08-03 14:10:54 -04:00
|
|
|
undefined m_unk10[0x58];
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MXENTITY_H
|