Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion FFXIVClientStructs/FFXIV/Client/Game/Object/EventObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,16 @@
public partial struct EventObject {
[FieldOffset(0x1A0), CExporterExcel("EObj")] public nint EObjRowPtr;
[FieldOffset(0x1A8), CExporterExcel("ExportedSG")] public nint ExportedSGRowPtr;
[FieldOffset(0x1B2)] public ushort SharedTimelineState; // ActorControl category 0x199 (SetSharedTimelineState) sets this field
[FieldOffset(0x1B8)] public byte Flags;

/// <summary> Plays or switches an EObj animation/effect slot. </summary>
/// <param name="sharedTimelineState"> Similar to MapEffect's a2. Does not appear to affect the actual visible animation directly. </param>
/// <param name="bitMask"> Similar to MapEffect's a3. Each bit represents one animation (e.g. show, fadeout). Appears to use only single-bit values. </param>
/// <remarks>
/// EObjAnimation is highly similar to MapEffect; MapEffect appears to be a wrapped form of this mechanism.
/// Different scene-bound resources attached to an EObj are roughly equivalent to MapEffect's a1.
/// </remarks>
[MemberFunction("E8 ?? ?? ?? ?? E9 ?? ?? ?? ?? 4D 85 F6 0F 84 ?? ?? ?? ?? 8B 44 24 70 BE ?? ?? ?? ??")]
public partial void PlayAnimation(uint entityId, uint actionId, ulong unknown);
public partial void PlayAnimation(ushort sharedTimelineState, ushort bitMask, ulong context = 0);

Check warning on line 22 in FFXIVClientStructs/FFXIV/Client/Game/Object/EventObject.cs

View workflow job for this annotation

GitHub Actions / build-pr

Parameter 'context' has no matching param tag in the XML comment for 'EventObject.PlayAnimation(ushort, ushort, ulong)' (but other parameters do)

Check warning on line 22 in FFXIVClientStructs/FFXIV/Client/Game/Object/EventObject.cs

View workflow job for this annotation

GitHub Actions / build-pr

Parameter 'context' has no matching param tag in the XML comment for 'EventObject.PlayAnimation(ushort, ushort, ulong)' (but other parameters do)

Check warning on line 22 in FFXIVClientStructs/FFXIV/Client/Game/Object/EventObject.cs

View workflow job for this annotation

GitHub Actions / test

Parameter 'context' has no matching param tag in the XML comment for 'EventObject.PlayAnimation(ushort, ushort, ulong)' (but other parameters do)
}
Loading