isle-portable/LEGO1/mxdsmultiaction.h
Christian Semmler 99c27a6a50
Bootstrap MxDSMultiAction (#133)
* Bootstrap MxDSMultiAction

* Move destroy function to list class

* Fix unk14 call
2023-09-20 13:36:15 -07:00

36 lines
791 B
C++

#ifndef MXDSMULTIACTION_H
#define MXDSMULTIACTION_H
#include "mxdsaction.h"
#include "mxdsactionlist.h"
// VTABLE 0x100dcef0
// SIZE 0x9c
class MxDSMultiAction : public MxDSAction
{
public:
MxDSMultiAction();
virtual ~MxDSMultiAction() override;
// OFFSET: LEGO1 0x100c9f50
inline virtual const char *ClassName() const override // vtable+0x0c
{
// 0x10101dbc
return "MxDSMultiAction";
}
// OFFSET: LEGO1 0x100c9f60
inline virtual MxBool IsA(const char *name) const override // vtable+0x10
{
return !strcmp(name, MxDSMultiAction::ClassName()) || MxDSAction::IsA(name);
}
virtual undefined4 unk14(); // vtable+14;
virtual MxU32 GetSizeOnDisk(); // vtable+18;
private:
MxU32 m_sizeOnDisk;
MxDSActionList *m_actions;
};
#endif // MXDSMULTIACTION_H