Isle
Loading...
Searching...
No Matches
mxnextactiondatastart.h
Go to the documentation of this file.
1#ifndef MXNEXTACTIONDATASTART_H
2#define MXNEXTACTIONDATASTART_H
3
4#include "mxcore.h"
5
6// VTABLE: LEGO1 0x100dc9a0
7// VTABLE: BETA10 0x101c26a8
8// SIZE 0x14
9
15public:
22 MxNextActionDataStart(MxU32 p_objectId, MxS16 p_unk0x24, MxU32 p_data)
23 {
24 m_objectId = p_objectId;
25 m_unk0x24 = p_unk0x24;
26 m_data = p_data;
27 }
28
33 const char* ClassName() const override // vtable+0x0c
34 {
35 // STRING: LEGO1 0x101025a0
36 return "MxNextActionDataStart";
37 }
38
45 MxBool IsA(const char* p_name) const override // vtable+0x10
46 {
47 return !strcmp(p_name, MxNextActionDataStart::ClassName()) || MxCore::IsA(p_name);
48 }
49
53 MxU32 GetObjectId() const { return m_objectId; }
54
58 MxS16 GetUnknown24() const { return m_unk0x24; }
59
63 MxU32 GetData() const { return m_data; }
64
69 void SetData(MxU32 p_data) { m_data = p_data; }
70
71 // SYNTHETIC: LEGO1 0x100c1990
72 // MxNextActionDataStart::`scalar deleting destructor'
73
74private:
75 MxU32 m_objectId;
76 MxS16 m_unk0x24;
77 MxU32 m_data;
78};
79
80#endif // MXNEXTACTIONDATASTART_H
[AI] Base virtual class for all Mindscape engine (Mx) objects.
Definition: mxcore.h:15
virtual MxBool IsA(const char *p_name) const
[AI] Checks whether this object's class type or parents match the given name.
Definition: mxcore.h:46
[AI] Contains data for scheduling the next action in a process, storing an object id,...
MxBool IsA(const char *p_name) const override
[AI] Performs runtime type check against class name and all ancestors.
MxS16 GetUnknown24() const
[AI] Gets the unknown parameter or code for the action (purpose unclear in decompilation output).
const char * ClassName() const override
[AI] Returns the class name as a constant string.
MxNextActionDataStart(MxU32 p_objectId, MxS16 p_unk0x24, MxU32 p_data)
[AI] Constructs an MxNextActionDataStart object and initializes its fields.
MxU32 GetObjectId() const
[AI] Gets the identifier for the object the action applies to.
MxU32 GetData() const
[AI] Retrieves the extra data associated with the action dispatch.
void SetData(MxU32 p_data)
[AI] Sets the data value for this action instance.
#define override
Definition: compat.h:21
MxU8 MxBool
[AI]
Definition: mxtypes.h:124
signed short MxS16
[AI]
Definition: mxtypes.h:26
unsigned int MxU32
[AI]
Definition: mxtypes.h:32