mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-22 23:48:12 -05:00
4f201eaa48
* MxEventPresenter destructor * Fix and implement Destroy * Fix scope of Destroy decl --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
37 lines
756 B
C++
37 lines
756 B
C++
#ifndef MXEVENTPRESENTER_H
|
|
#define MXEVENTPRESENTER_H
|
|
|
|
#include "mxmediapresenter.h"
|
|
|
|
#include "decomp.h"
|
|
|
|
// VTABLE 0x100dca88
|
|
// SIZE 0x54
|
|
class MxEventPresenter : public MxMediaPresenter
|
|
{
|
|
public:
|
|
MxEventPresenter();
|
|
virtual ~MxEventPresenter() override;
|
|
|
|
// OFFSET: LEGO1 0x100c2c30
|
|
inline virtual const char* ClassName() const override // vtable+0xc
|
|
{
|
|
// 0x10101dcc
|
|
return "MxEventPresenter";
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x100c2c40
|
|
inline virtual MxBool IsA(const char *name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(name, MxEventPresenter::ClassName()) || MxMediaPresenter::IsA(name);
|
|
}
|
|
|
|
virtual void Destroy() override; // vtable+0x38
|
|
|
|
private:
|
|
void Init();
|
|
|
|
undefined4 *m_unk50;
|
|
};
|
|
|
|
#endif // MXEVENTPRESENTER_H
|