2023-06-29 04:10:08 -04:00
|
|
|
#ifndef POLICE_H
|
|
|
|
#define POLICE_H
|
|
|
|
|
2024-01-20 15:49:56 -05:00
|
|
|
#include "decomp.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
#include "legoworld.h"
|
2024-01-20 15:49:56 -05:00
|
|
|
#include "mxdsaction.h"
|
|
|
|
#include "policestate.h"
|
|
|
|
#include "radio.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d8a80
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0x110
|
|
|
|
// Radio at 0xf8
|
2023-10-24 19:38:27 -04:00
|
|
|
class Police : public LegoWorld {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
Police();
|
|
|
|
virtual ~Police() override; // vtable+0x0
|
2023-09-30 18:57:10 -04:00
|
|
|
|
2023-12-13 05:48:14 -05:00
|
|
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
2023-09-30 18:57:10 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1005e1e0
|
2023-10-24 19:38:27 -04:00
|
|
|
inline virtual const char* ClassName() const override // vtable+0xc
|
|
|
|
{
|
2023-12-27 15:59:42 -05:00
|
|
|
// STRING: LEGO1 0x100f0450
|
2023-10-24 19:38:27 -04:00
|
|
|
return "Police";
|
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1005e1f0
|
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, Police::ClassName()) || LegoWorld::IsA(p_name);
|
2023-10-24 19:38:27 -04:00
|
|
|
}
|
2024-01-18 08:34:14 -05:00
|
|
|
|
|
|
|
// SYNTHETIC: LEGO1 0x1005e300
|
|
|
|
// Police::`scalar deleting destructor'
|
2024-01-20 15:49:56 -05:00
|
|
|
|
|
|
|
virtual MxResult Create(MxDSAction& p_dsAction) override; // vtable+0x18
|
|
|
|
virtual void VTable0x50() override; // vtable+0x50
|
|
|
|
|
|
|
|
private:
|
|
|
|
Radio m_radio; // 0xf8
|
|
|
|
PoliceState* m_policeState; // 0x108
|
|
|
|
undefined4 m_unk0x10c; // 0x10c
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // POLICE_H
|