mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-22 16:04:17 +00:00
21 lines
400 B
C++
21 lines
400 B
C++
#include "legobox.h"
|
|
|
|
#include "decomp.h"
|
|
#include "misc/legoutil.h"
|
|
|
|
DECOMP_SIZE_ASSERT(LegoBox, 0x18)
|
|
|
|
// FUNCTION: LEGO1 0x100d3740
|
|
// FUNCTION: BETA10 0x1018f83c
|
|
LegoResult LegoBox::Read(LegoStorage* p_storage)
|
|
{
|
|
LegoResult result;
|
|
if ((result = m_min.Read(p_storage)) != SUCCESS) {
|
|
return result;
|
|
}
|
|
if ((result = m_max.Read(p_storage)) != SUCCESS) {
|
|
return result;
|
|
}
|
|
return SUCCESS;
|
|
}
|