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

@@ -0,0 +1,26 @@
#ifndef LEGONAMEDPART_H
#define LEGONAMEDPART_H
#include "legolodlist.h"
#include "mxstring.h"
// SIZE 0x14
class LegoNamedPart {
public:
LegoNamedPart(const char* p_name, LegoLODList* p_list)
{
m_name = p_name;
m_list = p_list;
}
~LegoNamedPart() { delete m_list; }
const MxString* GetName() const { return &m_name; }
LegoLODList* GetList() { return m_list; }
private:
MxString m_name; // 0x00
LegoLODList* m_list; // 0x04
};
#endif // LEGONAMEDPART_H