2023-06-29 04:10:08 -04:00
|
|
|
#ifndef MXAUDIOPRESENTER_H
|
|
|
|
#define MXAUDIOPRESENTER_H
|
|
|
|
|
2023-10-06 18:17:49 -04:00
|
|
|
#include "decomp.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
#include "mxmediapresenter.h"
|
|
|
|
|
|
|
|
// VTABLE 0x100d4c70
|
2023-11-14 15:10:43 -05:00
|
|
|
// SIZE 0x54
|
2023-10-24 19:38:27 -04:00
|
|
|
class MxAudioPresenter : public MxMediaPresenter {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2023-11-14 15:10:43 -05:00
|
|
|
MxAudioPresenter() { m_volume = 100; }
|
2023-07-02 03:00:28 -04:00
|
|
|
|
2023-10-24 19:38:27 -04:00
|
|
|
// OFFSET: LEGO1 0x1000d280
|
|
|
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
|
|
|
{
|
|
|
|
// 0x100f078c
|
|
|
|
return "MxAudioPresenter";
|
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-10-24 19:38:27 -04:00
|
|
|
// OFFSET: LEGO1 0x1000d290
|
|
|
|
inline virtual MxBool IsA(const char* name) const override // vtable+0x10
|
|
|
|
{
|
|
|
|
return !strcmp(name, MxAudioPresenter::ClassName()) || MxMediaPresenter::IsA(name);
|
|
|
|
}
|
2023-07-02 03:00:28 -04:00
|
|
|
|
2023-11-14 15:10:43 -05:00
|
|
|
virtual MxU32 GetVolume(); // vtable+0x5c
|
|
|
|
virtual void SetVolume(MxU32 p_volume); // vtable+0x60
|
2023-10-06 18:17:49 -04:00
|
|
|
|
2023-11-14 15:10:43 -05:00
|
|
|
private:
|
|
|
|
MxU32 m_volume;
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MXAUDIOPRESENTER_H
|