isle/LEGO1/lego/legoomni/include/legopathpresenter.h
MS ac41854149
Add static HandlerClassName function (#973)
* Add static HandlerClassName function

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

53 lines
1.3 KiB
C++

#ifndef LEGOPATHPRESENTER_H
#define LEGOPATHPRESENTER_H
#include "mxatom.h"
#include "mxmediapresenter.h"
// VTABLE: LEGO1 0x100d7c10
// SIZE 0x54
class LegoPathPresenter : public MxMediaPresenter {
public:
LegoPathPresenter();
~LegoPathPresenter() override;
// FUNCTION: BETA10 0x100c24d0
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f0690
return "LegoPathPresenter";
}
// FUNCTION: LEGO1 0x100449a0
// FUNCTION: BETA10 0x100c24a0
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x100449b0
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{
return !strcmp(p_name, LegoPathPresenter::ClassName()) || MxMediaPresenter::IsA(p_name);
}
void ReadyTickle() override; // vtable+0x18
void StreamingTickle() override; // vtable+0x20
void RepeatingTickle() override; // vtable+0x24
void ParseExtra() override; // vtable+0x30
MxResult AddToManager() override; // vtable+0x34
void Destroy() override; // vtable+0x38
// SYNTHETIC: LEGO1 0x10044a90
// LegoPathPresenter::`scalar deleting destructor'
private:
void Init();
protected:
void Destroy(MxBool p_fromDestructor);
MxAtomId m_trigger; // 0x50
};
#endif // LEGOPATHPRESENTER_H