mirror of
https://github.com/isledecomp/isle.git
synced 2025-12-16 10:53:35 +00:00
Begin refactor Serialize functions
This commit is contained in:
@@ -31,7 +31,7 @@ public:
|
||||
MxResult Serialize(LegoFile* p_file)
|
||||
{
|
||||
if (p_file->IsWriteMode()) {
|
||||
p_file->WriteString(m_name);
|
||||
p_file->Write(MxString(m_name));
|
||||
p_file->WriteVector3(m_position);
|
||||
p_file->WriteVector3(m_direction);
|
||||
p_file->WriteVector3(m_up);
|
||||
|
||||
@@ -74,7 +74,7 @@ public:
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
private:
|
||||
// private:
|
||||
MxU32* m_objectIds; // 0x00
|
||||
MxS16 m_length; // 0x04
|
||||
MxS16 m_mode; // 0x06
|
||||
@@ -95,7 +95,7 @@ public:
|
||||
virtual MxResult Serialize(LegoFile* p_file)
|
||||
{
|
||||
if (p_file->IsWriteMode()) {
|
||||
p_file->WriteString(ClassName());
|
||||
p_file->Write(MxString(ClassName()));
|
||||
}
|
||||
return SUCCESS;
|
||||
} // vtable+0x1c
|
||||
|
||||
Reference in New Issue
Block a user