isle-portable/LEGO1/mxeventpresenter.h
Joshua Peisach ca359e9002
MxEventPresenter: AddToManager and small destroy cleanup (#269)
* MxEventPresenter: AddToManager and small destroy cleanup

* Update mxeventpresenter.h

* Update mxeventpresenter.h

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2023-11-05 17:45:48 -05:00

36 lines
803 B
C++

#ifndef MXEVENTPRESENTER_H
#define MXEVENTPRESENTER_H
#include "decomp.h"
#include "mxmediapresenter.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 MxResult AddToManager() override; // vtable+0x34
virtual void Destroy() override; // vtable+0x38
private:
void Init();
undefined4* m_unk50;
};
#endif // MXEVENTPRESENTER_H