2023-06-29 04:10:08 -04:00
|
|
|
#ifndef RADIOSTATE_H
|
|
|
|
#define RADIOSTATE_H
|
|
|
|
|
|
|
|
#include "legostate.h"
|
2024-01-30 13:57:20 -05:00
|
|
|
#include "mxdsaction.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d6d28
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0x30
|
2023-10-24 19:38:27 -04:00
|
|
|
class RadioState : public LegoState {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
RadioState();
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1002cf60
|
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 0x100f04f8
|
2023-10-24 19:38:27 -04:00
|
|
|
return "RadioState";
|
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1002cf70
|
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, RadioState::ClassName()) || LegoState::IsA(p_name);
|
2023-10-24 19:38:27 -04:00
|
|
|
}
|
2024-01-18 08:34:14 -05:00
|
|
|
|
2024-02-01 15:42:10 -05:00
|
|
|
MxBool VTable0x14() override; // vtable+0x14
|
2024-01-20 18:04:46 -05:00
|
|
|
|
2024-01-18 08:34:14 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x1002d020
|
|
|
|
// RadioState::`scalar deleting destructor'
|
2024-01-30 13:57:20 -05:00
|
|
|
|
|
|
|
inline MxBool IsActive() { return m_active; }
|
|
|
|
|
|
|
|
inline void SetActive(MxBool p_active) { m_active = p_active; }
|
|
|
|
|
|
|
|
undefined4 FUN_1002d090();
|
|
|
|
MxBool FUN_1002d0c0(const MxAtomId& p_atom, MxU32 p_objectId);
|
|
|
|
|
|
|
|
private:
|
2024-02-01 18:08:56 -05:00
|
|
|
Shuffle m_unk0x08[3]; // 0x08
|
|
|
|
MxS16 m_unk0x2c; // 0x2c
|
|
|
|
MxBool m_active; // 0x2e
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // RADIOSTATE_H
|