mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
fix(TargetManager): Mark target getters CanBeNull
This commit is contained in:
parent
5ae1d9c178
commit
e7e58aebf9
1 changed files with 5 additions and 0 deletions
|
|
@ -28,26 +28,31 @@ namespace Dalamud.Game.ClientState.Actors
|
|||
/// <summary>
|
||||
/// Gets the current target.
|
||||
/// </summary>
|
||||
[CanBeNull]
|
||||
public Actor CurrentTarget => this.GetActorByOffset(TargetOffsets.CurrentTarget);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the mouseover target.
|
||||
/// </summary>
|
||||
[CanBeNull]
|
||||
public Actor MouseOverTarget => this.GetActorByOffset(TargetOffsets.MouseOverTarget);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the focus target.
|
||||
/// </summary>
|
||||
[CanBeNull]
|
||||
public Actor FocusTarget => this.GetActorByOffset(TargetOffsets.FocusTarget);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the previous target.
|
||||
/// </summary>
|
||||
[CanBeNull]
|
||||
public Actor PreviousTarget => this.GetActorByOffset(TargetOffsets.PreviousTarget);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the soft target.
|
||||
/// </summary>
|
||||
[CanBeNull]
|
||||
public Actor SoftTarget => this.GetActorByOffset(TargetOffsets.SoftTarget);
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue