mirror of
https://github.com/isledecomp/isle.git
synced 2025-12-10 08:03:13 +00:00
Introduce clang-format (#240)
This commit is contained in:
committed by
GitHub
parent
e928fc9425
commit
b449da1fa3
@@ -9,35 +9,35 @@
|
||||
|
||||
// VTABLE 0x100d5390
|
||||
// SIZE 0x10
|
||||
class MxEntity : public MxCore
|
||||
{
|
||||
class MxEntity : public MxCore {
|
||||
public:
|
||||
MxEntity();
|
||||
virtual ~MxEntity() override;
|
||||
MxEntity();
|
||||
virtual ~MxEntity() override;
|
||||
|
||||
// OFFSET: LEGO1 0x1000c180
|
||||
inline virtual const char* ClassName() const override // vtable+0xc
|
||||
{
|
||||
// 0x100f0070
|
||||
return "MxEntity";
|
||||
}
|
||||
// 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);
|
||||
}
|
||||
// OFFSET: LEGO1 0x1000c190
|
||||
inline virtual MxBool IsA(const char* name) const override // vtable+0x10
|
||||
{
|
||||
return !strcmp(name, MxEntity::ClassName()) || MxCore::IsA(name);
|
||||
}
|
||||
|
||||
virtual MxResult SetEntityId(MxS32 p_id, const MxAtomId& p_atom); // vtable+0x14
|
||||
inline MxResult InitFromMxDSObject(MxDSObject& p_dsObject)
|
||||
{
|
||||
m_mxEntityId = p_dsObject.GetObjectId();
|
||||
m_atom = p_dsObject.GetAtomId();
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
virtual MxResult SetEntityId(MxS32 p_id, const MxAtomId &p_atom); // vtable+0x14
|
||||
inline MxResult InitFromMxDSObject(MxDSObject &p_dsObject)
|
||||
{
|
||||
m_mxEntityId = p_dsObject.GetObjectId();
|
||||
m_atom = p_dsObject.GetAtomId();
|
||||
return SUCCESS;
|
||||
}
|
||||
protected:
|
||||
MxS32 m_mxEntityId; // 0x8
|
||||
MxAtomId m_atom; // 0xc
|
||||
MxS32 m_mxEntityId; // 0x8
|
||||
MxAtomId m_atom; // 0xc
|
||||
};
|
||||
|
||||
#endif // MXENTITY_H
|
||||
|
||||
Reference in New Issue
Block a user