isle-portable/LEGO1/mxsoundpresenter.h

33 lines
740 B
C
Raw Normal View History

#ifndef MXSOUNDPRESENTER_H
#define MXSOUNDPRESENTER_H
#include "mxaudiopresenter.h"
#include "mxomni.h"
// VTABLE 0x100d4b08
2023-10-24 19:38:27 -04:00
class MxSoundPresenter : public MxAudioPresenter {
public:
2023-10-24 19:38:27 -04:00
virtual ~MxSoundPresenter() override;
2023-10-24 19:38:27 -04:00
// OFFSET: LEGO1 0x1000d4a0
inline virtual const char* ClassName() const // vtable+0x0c
{
// 0x100f07a0
return "MxSoundPresenter";
};
2023-10-24 19:38:27 -04:00
// OFFSET: LEGO1 0x1000d4b0
inline virtual MxBool IsA(const char* name) const // vtable+0x10
{
return !strcmp(name, MxSoundPresenter::ClassName()) || MxAudioPresenter::IsA(name);
};
2023-10-24 19:38:27 -04:00
virtual MxResult AddToManager() override; // vtable+0x34
virtual void Destroy() override; // vtable+0x38
private:
2023-10-24 19:38:27 -04:00
void Destroy(MxBool);
};
#endif // MXSOUNDPRESENTER_H