2023-06-29 04:10:08 -04:00
|
|
|
#ifndef JUKEBOXSTATE_H
|
|
|
|
#define JUKEBOXSTATE_H
|
|
|
|
|
|
|
|
#include "legostate.h"
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d4a90
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0x10
|
2023-10-24 19:38:27 -04:00
|
|
|
class JukeBoxState : public LegoState {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1000f310
|
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 0x100f02bc
|
2023-10-24 19:38:27 -04:00
|
|
|
return "JukeBoxState";
|
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1000f320
|
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, JukeBoxState::ClassName()) || LegoState::IsA(p_name);
|
2023-10-24 19:38:27 -04:00
|
|
|
}
|
2023-10-22 11:33:29 -04:00
|
|
|
|
2024-04-21 09:42:08 -04:00
|
|
|
MxBool IsSerializable() override; // vtable+0x14
|
2024-01-18 08:34:14 -05:00
|
|
|
|
2024-02-14 11:48:39 -05:00
|
|
|
inline MxU32 IsActive() { return m_active; }
|
|
|
|
inline void SetActive(MxU32 p_active) { m_active = p_active; }
|
|
|
|
inline MxU32 GetState() { return m_state; }
|
2024-02-26 10:12:14 -05:00
|
|
|
inline void SetState(MxU32 p_state) { m_state = p_state; }
|
2024-02-14 11:48:39 -05:00
|
|
|
|
2024-01-18 08:34:14 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x1000f3d0
|
|
|
|
// JukeBoxState::`scalar deleting destructor'
|
2024-02-14 11:48:39 -05:00
|
|
|
|
2024-05-21 15:03:50 -04:00
|
|
|
// protected:
|
2024-02-14 11:48:39 -05:00
|
|
|
MxU32 m_state; // 0x08
|
|
|
|
MxU32 m_active; // 0x0c
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // JUKEBOXSTATE_H
|