isle/LEGO1/mxeventpresenter.h
Christian Semmler 10062d2b28
Return type of PutData is MxResult (#305)
* Return type of PutData is MxResult

* Remove out.html
2023-11-26 15:03:40 +01:00

40 lines
1 KiB
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 void ReadyTickle() override; // vtable+0x18
virtual void StartingTickle() override; // vtable+0x1c
virtual MxResult AddToManager() override; // vtable+0x34
virtual void Destroy() override; // vtable+0x38
virtual MxResult PutData() override; // vtable+0x4c
virtual void CopyData(MxStreamChunk* p_chunk); // vtable+0x5c
private:
void Init();
MxU8* m_data; // 0x50
};
#endif // MXEVENTPRESENTER_H