Update mxdsobject.h

This commit is contained in:
Misha 2023-12-16 11:38:51 -05:00
parent a0925b364a
commit 97965eb439
No known key found for this signature in database
GPG Key ID: 8441D12AEF33FED8

View File

@ -6,6 +6,8 @@
#include "mxcore.h"
#include "mxdstypes.h"
class MxPresenter;
// VTABLE: LEGO1 0x100dc868
// SIZE 0x2c
class MxDSObject : public MxCore {
@ -38,12 +40,12 @@ class MxDSObject : public MxCore {
inline MxU32 GetObjectId() { return this->m_objectId; }
inline const MxAtomId& GetAtomId() { return this->m_atomId; }
inline MxS16 GetUnknown24() { return this->m_unk0x24; }
inline undefined4 GetUnknown28() { return this->m_unk0x28; }
inline MxPresenter* GetUnknown28() { return this->m_unk0x28; }
inline void SetType(MxDSType p_type) { this->m_type = p_type; }
inline void SetObjectId(MxU32 p_objectId) { this->m_objectId = p_objectId; }
inline void SetUnknown24(MxS16 p_unk0x24) { this->m_unk0x24 = p_unk0x24; }
inline void SetUnknown28(undefined4 p_unk0x28) { this->m_unk0x28 = p_unk0x28; }
inline void SetUnknown28(MxPresenter* p_unk0x28) { this->m_unk0x28 = p_unk0x28; }
inline void ClearAtom() { m_atomId.Clear(); }
@ -56,7 +58,7 @@ class MxDSObject : public MxCore {
MxU32 m_objectId; // 0x1c
MxAtomId m_atomId; // 0x20
MxS16 m_unk0x24; // 0x24
undefined4 m_unk0x28; // 0x28
MxPresenter* m_unk0x28; // 0x28
};
MxDSObject* DeserializeDSObjectDispatch(char**, MxS16);