Isle
Loading...
Searching...
No Matches
mxdsserialaction.h
Go to the documentation of this file.
1#ifndef MXDSSERIALACTION_H
2#define MXDSSERIALACTION_H
3
4#include "decomp.h"
5#include "mxdsmultiaction.h"
6
7// VTABLE: LEGO1 0x100dcf38
8// VTABLE: BETA10 0x101c2940
9// SIZE 0xa8
10
16public:
21
26 MxDSSerialAction(MxDSSerialAction& p_dsSerialAction);
27
31 ~MxDSSerialAction() override;
32
38 void CopyFrom(MxDSSerialAction& p_dsSerialAction);
39
46
52 const char* ClassName() const override // vtable+0x0c
53 {
54 // STRING: LEGO1 0x100f75dc
55 return "MxDSSerialAction";
56 }
57
63 MxBool IsA(const char* p_name) const override // vtable+0x10
64 {
65 return !strcmp(p_name, MxDSSerialAction::ClassName()) || MxDSMultiAction::IsA(p_name);
66 }
67
72 MxLong GetDuration() override;
73
78 void SetDuration(MxLong p_duration) override;
79
84 MxDSAction* Clone() override;
85
86 // SYNTHETIC: LEGO1 0x100cabf0
87 // SYNTHETIC: BETA10 0x1015b330
88 // MxDSSerialAction::`scalar deleting destructor'
89
90private:
94 MxDSActionListCursor* m_cursor; // 0x9c
95
100 undefined4 m_unk0xa0; // 0xa0
101
105 undefined4 m_unk0xa4; // 0xa4
106};
107
108#endif // MXDSSERIALACTION_H
[AI] Convenience cursor class for iterating over an MxDSActionList.
[AI] Represents an action deserialized from SI chunks, holding key animation or script parameters suc...
Definition: mxdsaction.h:17
[AI] Represents a container for multiple MxDSAction objects, facilitating the grouping and management...
MxBool IsA(const char *p_name) const override
[AI] Checks whether a given class name matches this or any parent class.
[AI] Represents a serial (sequential) action group for data-driven sequence execution in LEGO Island.
MxDSSerialAction & operator=(MxDSSerialAction &p_dsSerialAction)
[AI] Assignment operator.
MxLong GetDuration() override
[AI] Calculates and retrieves the total duration of this serial action.
MxDSAction * Clone() override
[AI] Clones (deep copies) this serial action, including its list of contained actions and configurati...
MxDSSerialAction()
[AI] Constructs an empty serial action, setting up the cursor and type.
void CopyFrom(MxDSSerialAction &p_dsSerialAction)
[AI] Copies the state of another MxDSSerialAction into this one, including duplication warnings if th...
~MxDSSerialAction() override
[AI] Destructor.
const char * ClassName() const override
[AI] Gets the class name of this object.
MxBool IsA(const char *p_name) const override
[AI] Checks if this class is of a given type or its parent types.
void SetDuration(MxLong p_duration) override
[AI] Sets an explicit duration value for the entire serial action sequence.
#define override
Definition: compat.h:21
unsigned int undefined4
Definition: decomp.h:28
MxU8 MxBool
[AI]
Definition: mxtypes.h:124
int MxLong
[AI]
Definition: mxtypes.h:83