15 m_bufferOffset = p_offset;
22 return m_internalAction ? m_internalAction->
HasId(p_objectId) :
FALSE;
43 if (m_internalAction) {
44 delete m_internalAction;
59 m_internalAction =
NULL;
67 m_unk0x94 = p_dsStreamingAction.m_unk0x94;
68 m_bufferOffset = p_dsStreamingAction.m_bufferOffset;
69 m_unk0x9c = p_dsStreamingAction.m_unk0x9c;
72 m_unk0xac = p_dsStreamingAction.m_unk0xac;
73 m_unk0xa8 = p_dsStreamingAction.m_unk0xa8;
83 if (m_internalAction) {
84 delete m_internalAction;
86 m_internalAction = p_dsAction;
100 m_unk0xa8 += duration;
[AI] Represents an action deserialized from SI chunks, holding key animation or script parameters suc...
MxDSAction & operator=(MxDSAction &p_dsAction)
[AI] Assignment operator: deep-copy from a different MxDSAction, including base class data and extra ...
virtual MxBool HasId(MxU32 p_objectId)
[AI] Checks if this action contains/was created for a specific SI object id.
MxS32 m_loopCount
[AI] Number of times to repeat the action, or -1 for infinite/not-set.
MxLong m_duration
[AI] The duration to run the action, or INT_MIN for undefined.
virtual MxDSAction * Clone()
[AI] Clones (deep-copies) this action and returns a new pointer.
[AI] Represents an action that streams data from a buffer within a DirectScript (DS) media timeline.
~MxDSStreamingAction() override
[AI] Destructor.
void FUN_100cd2d0()
[AI] Updates duration, loop count, and accumulates advanced streaming time for repeated playback.
MxDSStreamingAction * CopyFrom(MxDSStreamingAction &p_dsStreamingAction)
[AI] Copies fields from another MxDSStreamingAction, deeply cloning the internal action if needed.
MxBool HasId(MxU32 p_objectId) override
[AI] Determines if this action or its internal action correspond to the given object ID.
void Init()
[AI] Initializes default values for members.
void SetInternalAction(MxDSAction *p_dsAction)
[AI] Sets or replaces the internal action held by this streaming action (ownership is transferred).
MxDSStreamingAction(MxDSAction &p_dsAction, MxU32 p_offset)
[AI] Constructs a streaming action from a base DS action with a given offset into the media buffer.
#define DECOMP_SIZE_ASSERT(T, S)
#define NULL
[AI] Null pointer value (C/C++ semantics).