Merge pull request #500 from daemitus/bnpc_taretid

This commit is contained in:
goaaats 2021-08-26 21:35:25 +02:00 committed by GitHub
commit 648cbdefc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 3 deletions

View file

@ -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;
}
}

View file

@ -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;
}
}

View file

@ -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