mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Merge pull request #500 from daemitus/bnpc_taretid
This commit is contained in:
commit
648cbdefc8
4 changed files with 6 additions and 3 deletions
|
|
@ -23,5 +23,8 @@ namespace Dalamud.Game.ClientState.Objects.Types
|
|||
/// Gets the BattleNpc <see cref="BattleNpcSubKind" /> of this BattleNpc.
|
||||
/// </summary>
|
||||
public BattleNpcSubKind BattleNpcKind => (BattleNpcSubKind)this.Struct->Character.GameObject.SubKind;
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override uint TargetObjectId => this.Struct->BattleNpcTargetObjectId;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,6 +33,6 @@ namespace Dalamud.Game.ClientState.Objects.SubKinds
|
|||
/// <summary>
|
||||
/// Gets the target actor ID of the PlayerCharacter.
|
||||
/// </summary>
|
||||
public override uint TargetObjectId => this.Struct->Character.GameObject.TargetObjectID;
|
||||
public override uint TargetObjectId => this.Struct->Character.PlayerTargetObjectID;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ namespace Dalamud.Game.ClientState.Objects.Types
|
|||
/// <summary>
|
||||
/// Gets the target object ID of the character.
|
||||
/// </summary>
|
||||
public override uint TargetObjectId => this.Struct->GameObject.TargetObjectID;
|
||||
public override uint TargetObjectId => this.Struct->TargetObjectID;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the name ID of the character.
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 74556bdfe469ed66ba77d613186a0c3d6eeda88d
|
||||
Subproject commit 47802afd09afe2cf3bd4c92bedc433c8a5bb9ab3
|
||||
Loading…
Add table
Add a link
Reference in a new issue