Implement/match LegoPartPresenter::Read (#642)

* WIP

* Match

* Remove TODO

* Fix
This commit is contained in:
Christian Semmler
2024-03-09 12:27:53 -05:00
committed by GitHub
parent 9e2f37e7ca
commit 9f875d01e5
8 changed files with 311 additions and 8 deletions

View File

@@ -1,6 +1,7 @@
#ifndef LEGOPARTPRESENTER_H
#define LEGOPARTPRESENTER_H
#include "legonamedpartlist.h"
#include "mxmediapresenter.h"
// VTABLE: LEGO1 0x100d4df0
@@ -34,7 +35,7 @@ public:
// SYNTHETIC: LEGO1 0x1000d060
// LegoPartPresenter::`scalar deleting destructor'
inline void Reset() { m_partData = NULL; }
inline void Reset() { m_parts = NULL; }
MxResult Read(MxDSChunk& p_chunk);
void FUN_1007df20();
@@ -42,7 +43,7 @@ public:
private:
void Destroy(MxBool p_fromDestructor);
MxDSChunk* m_partData; // 0x54
LegoNamedPartList* m_parts; // 0x50
};
#endif // LEGOPARTPRESENTER_H