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"
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 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
|
|
|
|
2024-05-30 13:10:41 -04:00
|
|
|
// FUNCTION: BETA10 0x1008cba0
|
|
|
|
static const char* HandlerClassName()
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
2023-12-27 15:59:42 -05:00
|
|
|
// STRING: LEGO1 0x100f078c
|
2023-10-24 19:38:27 -04:00
|
|
|
return "MxAudioPresenter";
|
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2024-05-30 13:10:41 -04:00
|
|
|
// FUNCTION: LEGO1 0x1000d280
|
|
|
|
// FUNCTION: BETA10 0x1008cb70
|
|
|
|
inline const char* ClassName() const override // vtable+0x0c
|
|
|
|
{
|
|
|
|
return HandlerClassName();
|
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1000d290
|
2024-02-01 15:42:10 -05:00
|
|
|
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
2023-12-13 05:48:14 -05:00
|
|
|
return !strcmp(p_name, MxAudioPresenter::ClassName()) || MxMediaPresenter::IsA(p_name);
|
2023-10-24 19:38:27 -04:00
|
|
|
}
|
2023-07-02 03:00:28 -04:00
|
|
|
|
2024-01-11 10:02:55 -05:00
|
|
|
// FUNCTION: LEGO1 0x1000d260
|
2024-01-29 17:30:20 -05:00
|
|
|
virtual MxS32 GetVolume() { return m_volume; } // vtable+0x5c
|
2024-01-11 10:02:55 -05:00
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x1000d270
|
2024-01-29 17:30:20 -05:00
|
|
|
virtual void SetVolume(MxS32 p_volume) { m_volume = p_volume; } // vtable+0x60
|
2023-10-06 18:17:49 -04:00
|
|
|
|
2023-11-24 12:09:53 -05:00
|
|
|
protected:
|
2024-05-30 10:27:18 -04:00
|
|
|
MxS32 m_volume; // 0x50
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
2024-01-14 16:28:46 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x1000d370
|
|
|
|
// MxAudioPresenter::`scalar deleting destructor'
|
|
|
|
|
|
|
|
// SYNTHETIC: LEGO1 0x1000d3e0
|
|
|
|
// MxAudioPresenter::~MxAudioPresenter
|
|
|
|
|
2023-06-29 04:10:08 -04:00
|
|
|
#endif // MXAUDIOPRESENTER_H
|