2023-06-29 04:10:08 -04:00
|
|
|
#ifndef HELICOPTERSTATE_H
|
|
|
|
#define HELICOPTERSTATE_H
|
|
|
|
|
2023-10-24 08:37:02 -04:00
|
|
|
#include "decomp.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
#include "legostate.h"
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d5418
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0xc
|
2023-10-24 19:38:27 -04:00
|
|
|
class HelicopterState : public LegoState {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1000e0d0
|
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 0x100f0144
|
2023-10-24 19:38:27 -04:00
|
|
|
return "HelicopterState";
|
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1000e0e0
|
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, HelicopterState::ClassName()) || LegoState::IsA(p_name);
|
2023-10-24 19:38:27 -04:00
|
|
|
}
|
2023-10-24 08:37:02 -04:00
|
|
|
|
2023-12-14 11:50:29 -05:00
|
|
|
inline void SetUnknown8(MxU32 p_unk0x8) { m_unk0x8 = p_unk0x8; }
|
|
|
|
inline MxU32 GetUnkown8() { return m_unk0x8; }
|
2023-10-24 19:38:27 -04:00
|
|
|
|
|
|
|
protected:
|
2023-12-14 11:50:29 -05:00
|
|
|
MxU32 m_unk0x8; // 0x8
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // HELICOPTERSTATE_H
|