isle-portable/LEGO1/mxvariable.cpp

25 lines
359 B
C++
Raw Normal View History

#include "mxvariable.h"
2023-10-24 19:38:27 -04:00
#include "decomp.h"
2023-10-24 19:38:27 -04:00
#include "mxstring.h"
DECOMP_SIZE_ASSERT(MxVariable, 0x24)
// OFFSET: LEGO1 0x1003bea0
2023-10-24 19:38:27 -04:00
MxString* MxVariable::GetValue()
{
2023-10-24 19:38:27 -04:00
return &m_value;
}
// OFFSET: LEGO1 0x1003beb0
2023-10-24 19:38:27 -04:00
void MxVariable::SetValue(const char* value)
{
2023-10-24 19:38:27 -04:00
m_value = value;
}
// OFFSET: LEGO1 0x1003bec0
void MxVariable::Destroy()
{
2023-10-24 19:38:27 -04:00
delete this;
}