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
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1000d280
|
2023-10-24 19:38:27 -04:00
|
|
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
|
|
|
{
|
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
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1000d290
|
2023-12-13 05:48:14 -05:00
|
|
|
inline virtual 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
|
|
|
|
virtual MxS32 GetVolume() { return m_volume; }; // vtable+0x5c
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x1000d270
|
|
|
|
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:
|
|
|
|
MxS32 m_volume;
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MXAUDIOPRESENTER_H
|