MxEntity (#84)

* Start MxEntity

* MxEntity: make MxAtomId a member
This commit is contained in:
Joshua Peisach 2023-07-16 02:49:47 -04:00 committed by GitHub
parent 4a50a9ff56
commit e3bf7b53b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 16 deletions

View file

@ -1,19 +1,12 @@
#include "mxentity.h"
// OFFSET: LEGO1 0x1001d190 STUB
// OFFSET: LEGO1 0x1001d190
MxEntity::MxEntity()
{
// TODO
this->m_mxEntityId = -1;
}
// OFFSET: LEGO1 0x1000c110 STUB
// OFFSET: LEGO1 0x1000c110
MxEntity::~MxEntity()
{
// TODO
}
// OFFSET: LEGO1 0x10001070 STUB
void MxEntity::Destroy()
{
// TODO
}

View file

@ -1,7 +1,9 @@
#ifndef MXENTITY_H
#define MXENTITY_H
#include "mxatomid.h"
#include "mxcore.h"
#include "mxtypes.h"
// VTABLE 0x100d5390
class MxEntity : public MxCore
@ -22,11 +24,9 @@ class MxEntity : public MxCore
{
return !strcmp(name, MxEntity::ClassName()) || MxCore::IsA(name);
}
virtual void Destroy(); // vtable+0x1c
// 0x8: MxResult
// 0xc MxAtomId
private:
MxS32 m_mxEntityId; // 0x8
MxAtomId m_atom; // 0xc
};
#endif // MXENTITY_H