mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-22 15:37:55 -05:00
e3bf7b53b5
* Start MxEntity * MxEntity: make MxAtomId a member
32 lines
635 B
C++
32 lines
635 B
C++
#ifndef MXENTITY_H
|
|
#define MXENTITY_H
|
|
|
|
#include "mxatomid.h"
|
|
#include "mxcore.h"
|
|
#include "mxtypes.h"
|
|
|
|
// VTABLE 0x100d5390
|
|
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
|
|
};
|
|
|
|
#endif // MXENTITY_H
|