2023-06-29 04:10:08 -04:00
|
|
|
#ifndef LEGOENTITYPRESENTER_H
|
|
|
|
#define LEGOENTITYPRESENTER_H
|
|
|
|
|
|
|
|
#include "mxcompositepresenter.h"
|
|
|
|
|
2023-12-26 17:42:29 -05:00
|
|
|
class LegoEntity;
|
2024-05-03 12:19:12 -04:00
|
|
|
class Vector3;
|
2023-12-26 17:42:29 -05:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d8398
|
2023-11-02 06:54:08 -04:00
|
|
|
// SIZE 0x50
|
2023-10-24 19:38:27 -04:00
|
|
|
class LegoEntityPresenter : public MxCompositePresenter {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
LegoEntityPresenter();
|
2024-02-01 15:42:10 -05:00
|
|
|
~LegoEntityPresenter() override; // vtable+0x00
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2024-05-30 13:10:41 -04:00
|
|
|
// FUNCTION: BETA10 0x10080780
|
|
|
|
static const char* HandlerClassName()
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
2023-12-27 15:59:42 -05:00
|
|
|
// STRING: LEGO1 0x100f06b8
|
2023-10-24 19:38:27 -04:00
|
|
|
return "LegoEntityPresenter";
|
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2024-05-30 13:10:41 -04:00
|
|
|
// FUNCTION: LEGO1 0x100534b0
|
|
|
|
// FUNCTION: BETA10 0x10080750
|
2024-07-04 19:06:32 -04:00
|
|
|
const char* ClassName() const override // vtable+0x0c
|
2024-05-30 13:10:41 -04:00
|
|
|
{
|
|
|
|
return HandlerClassName();
|
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x100534c0
|
2024-07-04 19:06:32 -04:00
|
|
|
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, LegoEntityPresenter::ClassName()) || MxCompositePresenter::IsA(p_name);
|
2023-10-24 19:38:27 -04:00
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2024-02-01 15:42:10 -05:00
|
|
|
void ReadyTickle() override; // vtable+0x18
|
|
|
|
void RepeatingTickle() override; // vtable+0x24
|
|
|
|
void ParseExtra() override; // vtable+0x30
|
|
|
|
void Destroy() override; // vtable+0x38
|
|
|
|
MxResult StartAction(MxStreamController* p_controller, MxDSAction* p_action) override; // vtable+0x3c
|
|
|
|
virtual void Init(); // vtable+0x68
|
|
|
|
virtual undefined4 SetEntity(LegoEntity* p_entity); // vtable+0x6c
|
2023-11-02 06:54:08 -04:00
|
|
|
|
2024-03-03 20:34:55 -05:00
|
|
|
void SetEntityLocation(const Vector3& p_location, const Vector3& p_direction, const Vector3& p_up);
|
2023-12-26 19:45:48 -05:00
|
|
|
|
2024-07-04 19:06:32 -04:00
|
|
|
LegoEntity* GetInternalEntity() { return m_entity; }
|
|
|
|
void SetInternalEntity(LegoEntity* p_entity) { m_entity = p_entity; }
|
2024-02-09 18:41:35 -05:00
|
|
|
|
2024-01-18 08:34:14 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x100535a0
|
|
|
|
// LegoEntityPresenter::`scalar deleting destructor'
|
|
|
|
|
2023-06-29 04:10:08 -04:00
|
|
|
private:
|
2023-11-02 06:54:08 -04:00
|
|
|
void Destroy(MxBool p_fromDestructor);
|
|
|
|
|
2023-12-26 19:45:48 -05:00
|
|
|
protected:
|
2024-01-14 16:49:11 -05:00
|
|
|
LegoEntity* m_entity; // 0x4c
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // LEGOENTITYPRESENTER_H
|