mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-23 07:58:21 -05:00
ca359e9002
* MxEventPresenter: AddToManager and small destroy cleanup * Update mxeventpresenter.h * Update mxeventpresenter.h --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
36 lines
803 B
C++
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
|