2023-06-29 04:10:08 -04:00
|
|
|
#include "mxdsselectaction.h"
|
|
|
|
|
2023-09-20 16:22:57 -04:00
|
|
|
DECOMP_SIZE_ASSERT(MxDSSelectAction, 0xb0)
|
|
|
|
|
2023-06-29 04:10:08 -04:00
|
|
|
// OFFSET: LEGO1 0x100cb2b0
|
|
|
|
MxDSSelectAction::MxDSSelectAction()
|
|
|
|
{
|
2023-07-03 13:24:51 -04:00
|
|
|
this->SetType(MxDSType_SelectAction);
|
2023-10-02 09:51:43 -04:00
|
|
|
this->m_unk0xac = new MxStringList;
|
2023-06-29 04:10:08 -04:00
|
|
|
}
|
|
|
|
|
2023-10-02 09:51:43 -04:00
|
|
|
// OFFSET: LEGO1 0x100cb8d0
|
2023-06-29 04:10:08 -04:00
|
|
|
MxDSSelectAction::~MxDSSelectAction()
|
|
|
|
{
|
2023-10-02 09:51:43 -04:00
|
|
|
if (this->m_unk0xac)
|
|
|
|
delete this->m_unk0xac;
|
2023-06-29 04:10:08 -04:00
|
|
|
}
|
2023-10-07 14:03:15 -04:00
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x100cb950
|
|
|
|
void MxDSSelectAction::CopyFrom(MxDSSelectAction &p_dsSelectAction)
|
|
|
|
{
|
|
|
|
this->m_unk0x9c = p_dsSelectAction.m_unk0x9c;
|
|
|
|
|
|
|
|
this->m_unk0xac->DeleteAll();
|
|
|
|
|
|
|
|
MxStringListCursor cursor(p_dsSelectAction.m_unk0xac);
|
|
|
|
MxString string;
|
|
|
|
while (cursor.Next(string))
|
|
|
|
this->m_unk0xac->OtherAppend(string);
|
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x100cbd50
|
|
|
|
MxDSSelectAction &MxDSSelectAction::operator=(MxDSSelectAction &p_dsSelectAction)
|
|
|
|
{
|
|
|
|
if (this != &p_dsSelectAction) {
|
|
|
|
MxDSParallelAction::operator=(p_dsSelectAction);
|
|
|
|
this->CopyFrom(p_dsSelectAction);
|
|
|
|
}
|
|
|
|
return *this;
|
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x100cbd80
|
|
|
|
MxDSAction *MxDSSelectAction::Clone()
|
|
|
|
{
|
|
|
|
MxDSSelectAction *clone = new MxDSSelectAction();
|
|
|
|
|
|
|
|
if (clone)
|
|
|
|
*clone = *this;
|
|
|
|
|
|
|
|
return clone;
|
|
|
|
}
|