mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Update ClientStructs
- Fix build errors caused by obsoletes
This commit is contained in:
parent
3e613cffd0
commit
85bb5229d9
4 changed files with 6 additions and 11 deletions
|
|
@ -1,5 +1,3 @@
|
|||
using System;
|
||||
|
||||
using Dalamud.Game.ClientState.Objects.Enums;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Objects.Types;
|
||||
|
|
@ -25,5 +23,5 @@ public unsafe class BattleNpc : BattleChara
|
|||
public BattleNpcSubKind BattleNpcKind => (BattleNpcSubKind)this.Struct->Character.GameObject.SubKind;
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override ulong TargetObjectId => this.Struct->Character.TargetObjectID;
|
||||
public override ulong TargetObjectId => this.Struct->Character.TargetId;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
using System;
|
||||
|
||||
using Dalamud.Game.ClientState.Objects.Types;
|
||||
using Dalamud.Game.ClientState.Resolvers;
|
||||
|
||||
|
|
@ -33,5 +31,5 @@ public unsafe class PlayerCharacter : BattleChara
|
|||
/// <summary>
|
||||
/// Gets the target actor ID of the PlayerCharacter.
|
||||
/// </summary>
|
||||
public override ulong TargetObjectId => this.Struct->Character.PlayerTargetObjectID;
|
||||
public override ulong TargetObjectId => this.Struct->Character.LookTargetId;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
using System;
|
||||
|
||||
using Dalamud.Game.ClientState.Objects.Enums;
|
||||
using Dalamud.Game.ClientState.Resolvers;
|
||||
using Dalamud.Game.Text.SeStringHandling;
|
||||
|
|
@ -87,7 +85,7 @@ public unsafe class Character : GameObject
|
|||
/// <summary>
|
||||
/// Gets the target object ID of the character.
|
||||
/// </summary>
|
||||
public override ulong TargetObjectId => this.Struct->TargetObjectID;
|
||||
public override ulong TargetObjectId => this.Struct->TargetId;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the name ID of the character.
|
||||
|
|
@ -115,5 +113,6 @@ public unsafe class Character : GameObject
|
|||
/// <summary>
|
||||
/// Gets the underlying structure.
|
||||
/// </summary>
|
||||
protected internal new FFXIVClientStructs.FFXIV.Client.Game.Character.Character* Struct => (FFXIVClientStructs.FFXIV.Client.Game.Character.Character*)this.Address;
|
||||
protected internal new FFXIVClientStructs.FFXIV.Client.Game.Character.Character* Struct =>
|
||||
(FFXIVClientStructs.FFXIV.Client.Game.Character.Character*)this.Address;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 7279a8f3ca6b79490184b05532af509781a89415
|
||||
Subproject commit 06e3ca2336031ba86ef95d022a2af722e5d00a7e
|
||||
Loading…
Add table
Add a link
Reference in a new issue