isle-portable/LEGO1/mxdsselectaction.h
MS bcb7bec68b
Improve handling of variables for decomp parser (#376)
* Parser refactor:
- Handling LIRBARY and STRING markers
- Extracting global variable name for future comparison
- Marking function static variables
- More fluent error messages

* String constants annotated with STRING

* fix variable name

* Should compare LIBRARY markers
2023-12-27 15:59:42 -05:00

52 lines
1.4 KiB
C++

#ifndef MXDSSELECTACTION_H
#define MXDSSELECTACTION_H
#include "decomp.h"
#include "mxdsparallelaction.h"
#include "mxstringlist.h"
// VTABLE: LEGO1 0x100dcfc8
// SIZE 0xb0
class MxDSSelectAction : public MxDSParallelAction {
public:
MxDSSelectAction();
virtual ~MxDSSelectAction() override;
void CopyFrom(MxDSSelectAction& p_dsSelectAction);
MxDSSelectAction& operator=(MxDSSelectAction& p_dsSelectAction);
// FUNCTION: LEGO1 0x100cb6f0
inline virtual const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x1010261c
return "MxDSSelectAction";
}
// FUNCTION: LEGO1 0x100cb700
inline virtual MxBool IsA(const char* p_name) const override // vtable+0x10
{
return !strcmp(p_name, MxDSSelectAction::ClassName()) || MxDSParallelAction::IsA(p_name);
}
virtual MxU32 GetSizeOnDisk() override; // vtable+18;
virtual void Deserialize(MxU8** p_source, MxS16 p_unk0x24) override; // vtable+1c;
virtual MxDSAction* Clone() override; // vtable+2c;
private:
MxString m_unk0x9c;
MxStringList* m_unk0xac;
};
// SYNTHETIC: LEGO1 0x100cbbd0
// MxStringListCursor::`scalar deleting destructor'
// TEMPLATE: LEGO1 0x100cbc40
// MxListCursor<MxString>::~MxListCursor<MxString>
// SYNTHETIC: LEGO1 0x100cbc90
// MxListCursor<MxString>::`scalar deleting destructor'
// FUNCTION: LEGO1 0x100cbd00
// MxStringListCursor::~MxStringListCursor
#endif // MXDSSELECTACTION_H