Isle
Loading...
Searching...
No Matches
Act3ListElement Struct Reference

[AI] Represents an element in a custom list for activity scripting and audio/animation event queueing in Act 3. More...

#include <act3.h>

Public Member Functions

 Act3ListElement ()
 [AI] Default constructor. More...
 
 Act3ListElement (MxU32 p_objectId, undefined4 p_unk0x04, undefined p_unk0x08)
 [AI] Initializes all fields in Act3ListElement. More...
 
int operator== (Act3ListElement) const
 [AI] Comparison operator, seems to be a placeholder (always returns 0). More...
 
int operator< (Act3ListElement) const
 [AI] Comparison operator for sorting, seems to be a placeholder (always returns 0). More...
 

Public Attributes

MxU32 m_objectId
 [AI] Refers to an in-game object or script action; exact semantics are context-dependent. More...
 
undefined4 m_unk0x04
 [AI] Option/type/priority for this action. [AI_SUGGESTED_NAME: m_option] More...
 
undefined m_unk0x08
 [AI] Boolean/flag; indicates if the corresponding object/action is active, completed, or should trigger removal. [AI_SUGGESTED_NAME: m_isActive] More...
 

Detailed Description

[AI] Represents an element in a custom list for activity scripting and audio/animation event queueing in Act 3.

Used within Act3List for managing queued actions or states, e.g. scheduled sounds, animations, or story actions. Contains an object ID, an integer which is most likely used as a queue type/priority or option (0x04), and a byte-flag (0x08).

SIZE 0x0c

Definition at line 38 of file act3.h.

Constructor & Destructor Documentation

◆ Act3ListElement() [1/2]

Act3ListElement::Act3ListElement ( )
inline

[AI] Default constructor.

Definition at line 46 of file act3.h.

◆ Act3ListElement() [2/2]

Act3ListElement::Act3ListElement ( MxU32  p_objectId,
undefined4  p_unk0x04,
undefined  p_unk0x08 
)
inline

[AI] Initializes all fields in Act3ListElement.

Parameters
p_objectIdThe object or script action id [AI].
p_unk0x04The queue type/option/prio [AI].
p_unk0x08Boolean/flag (see above) [AI].

Definition at line 54 of file act3.h.

Member Function Documentation

◆ operator<()

int Act3ListElement::operator< ( Act3ListElement  ) const
inline

[AI] Comparison operator for sorting, seems to be a placeholder (always returns 0).

Parameters
otherElement to compare [AI].
Returns
[AI] Always false.

Definition at line 71 of file act3.h.

◆ operator==()

int Act3ListElement::operator== ( Act3ListElement  ) const
inline

[AI] Comparison operator, seems to be a placeholder (always returns 0).

Parameters
otherElement to compare [AI].
Returns
[AI] Always false.

Definition at line 64 of file act3.h.

Member Data Documentation

◆ m_objectId

MxU32 Act3ListElement::m_objectId

[AI] Refers to an in-game object or script action; exact semantics are context-dependent.

Definition at line 39 of file act3.h.

◆ m_unk0x04

undefined4 Act3ListElement::m_unk0x04

[AI] Option/type/priority for this action. [AI_SUGGESTED_NAME: m_option]

Definition at line 40 of file act3.h.

◆ m_unk0x08

undefined Act3ListElement::m_unk0x08

[AI] Boolean/flag; indicates if the corresponding object/action is active, completed, or should trigger removal. [AI_SUGGESTED_NAME: m_isActive]

Definition at line 41 of file act3.h.


The documentation for this struct was generated from the following file: