Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
namespace FFXIVClientStructs.FFXIV.Client.Game.InstanceContent;

// Client::Game::InstanceContent::InstanceContentCrucible
// Client::Game::InstanceContent::InstanceContentDirector
// Client::Game::InstanceContent::ContentDirector
// Client::Game::Event::Director
// Client::Game::Event::LuaEventHandler
// Client::Game::Event::EventHandler
[GenerateInterop]
[Inherits<InstanceContentDirector>]
[StructLayout(LayoutKind.Explicit, Size = 0x25A0)]
public partial struct InstanceContentCrucible {
[FieldOffset(0x2380), FixedSizeArray] internal FixedSizeArray10<InventorySlot> _inventory;

[StructLayout(LayoutKind.Explicit, Size = 12)]
public struct InventorySlot {
[FieldOffset(4)] public ushort ItemId;
}

/// <summary>
/// Uses a Crucible item.
/// </summary>
/// <remarks>If applicable, the item action will be used on the player's current soft or hard target.</remarks>
/// <param name="slot">Crucible inventory index (0-9).</param>
/// <param name="beastId">Beast ID (XBMPet row). Only applicable for the "Blessed Horn" item, which must be used on an incapacitated pet.</param>
[MemberFunction("E8 ?? ?? ?? ?? 83 7F 44 00 48 8D 57 44")]
public partial void UseItem(uint slot, int beastId);
}

4 changes: 4 additions & 0 deletions ida/data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19728,6 +19728,10 @@ classes:
vtbls:
- ea: 0x1423861D8
base: Client::Game::InstanceContent::InstanceContentBeginnerTrainingExercise
Client::Game::InstanceContent::InstanceContentCrucible:
vtbls:
- ea: 0x1421F2D68
base: Client::Game::InstanceContent::InstanceContentDirector
Client::Game::InstanceContent::InstanceContentDeepDungeon:
vtbls:
- ea: 0x14238B010
Expand Down
Loading