isle/LEGO1/omni/include/mxeventpresenter.h
MS ac41854149
Add static HandlerClassName function (#973)
* Add static HandlerClassName function

* Use method in PresenterNameDispatch
2024-05-30 19:10:41 +02:00

50 lines
1.3 KiB
C++

#ifndef MXEVENTPRESENTER_H
#define MXEVENTPRESENTER_H
#include "decomp.h"
#include "mxmediapresenter.h"
// VTABLE: LEGO1 0x100dca88
// SIZE 0x54
class MxEventPresenter : public MxMediaPresenter {
public:
MxEventPresenter();
~MxEventPresenter() override;
// FUNCTION: BETA10 0x1012f0d0
static const char* HandlerClassName()
{
// STRING: LEGO1 0x10101dcc
return "MxEventPresenter";
}
// FUNCTION: LEGO1 0x100c2c30
// FUNCTION: BETA10 0x10152f10
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x100c2c40
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{
return !strcmp(p_name, MxEventPresenter::ClassName()) || MxMediaPresenter::IsA(p_name);
}
void ReadyTickle() override; // vtable+0x18
void StartingTickle() override; // vtable+0x1c
MxResult AddToManager() override; // vtable+0x34
void Destroy() override; // vtable+0x38
MxResult PutData() override; // vtable+0x4c
virtual void CopyData(MxStreamChunk* p_chunk); // vtable+0x5c
// SYNTHETIC: LEGO1 0x100c2d20
// MxEventPresenter::`scalar deleting destructor'
private:
void Init();
MxU8* m_data; // 0x50
};
#endif // MXEVENTPRESENTER_H