2023-06-29 04:10:08 -04:00
|
|
|
#ifndef JUKEBOXENTITY_H
|
|
|
|
#define JUKEBOXENTITY_H
|
|
|
|
|
2024-03-19 15:54:13 -04:00
|
|
|
#include "actionsfwd.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
#include "legoentity.h"
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100da8a0
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0x6c
|
2023-10-24 19:38:27 -04:00
|
|
|
class JukeBoxEntity : public LegoEntity {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
JukeBoxEntity();
|
2024-02-01 15:42:10 -05:00
|
|
|
~JukeBoxEntity() override; // vtable+0x00
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2024-02-01 15:42:10 -05:00
|
|
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
2024-01-20 18:04:46 -05:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x10085cc0
|
2024-02-01 15:42:10 -05:00
|
|
|
inline const char* ClassName() const override // vtable+0x0c
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
2023-12-27 15:59:42 -05:00
|
|
|
// STRING: LEGO1 0x100f02f0
|
2023-10-24 19:38:27 -04:00
|
|
|
return "JukeBoxEntity";
|
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x10085cd0
|
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, JukeBoxEntity::ClassName()) || LegoEntity::IsA(p_name);
|
2023-10-24 19:38:27 -04:00
|
|
|
}
|
2024-01-18 08:34:14 -05:00
|
|
|
|
2024-02-14 11:48:39 -05:00
|
|
|
void StartAction();
|
2024-03-18 15:00:58 -04:00
|
|
|
void StopAction(JukeboxScript::Script p_script);
|
2024-02-14 11:48:39 -05:00
|
|
|
|
|
|
|
inline MxBool IsBackgroundAudioEnabled() { return m_audioEnabled; }
|
|
|
|
|
2024-01-18 08:34:14 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x10085db0
|
|
|
|
// JukeBoxEntity::`scalar deleting destructor'
|
2024-02-14 11:48:39 -05:00
|
|
|
|
|
|
|
protected:
|
|
|
|
MxBool m_audioEnabled; // 0x68
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // JUKEBOXENTITY_H
|