Add LegoVehicleBuildState (#213)

* Add LegoVehicleBuildState

* Update LegoVehicleBuildState member-var names to include offsets
This commit is contained in:
Andrew Gutekanst
2023-10-16 09:22:21 -04:00
committed by GitHub
parent ba8ae8138e
commit 000c019a0e
3 changed files with 86 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
#include "legovehiclebuildstate.h"
#include "decomp.h"
DECOMP_SIZE_ASSERT(LegoVehicleBuildState, 0x50); // 1000acd7
DECOMP_SIZE_ASSERT(LegoVehicleBuildState::UnkStruct, 0xc);
// OFFSET: LEGO1 0x10025f30
LegoVehicleBuildState::LegoVehicleBuildState(char* p_classType)
{
this->m_className = p_classType;
this->m_unk4c = 0;
this->m_unk4d = 0;
this->m_unk4e = 0;
this->m_placedPartCount = 0;
}
// OFFSET: LEGO1 10017c00
LegoVehicleBuildState::UnkStruct::UnkStruct()
{
m_unk04 = 0;
m_unk00 = 0;
m_unk06 = 0;
m_unk08 = 0;
}