Skip to content

Commit

Permalink
fix: CS upgrade breakage
Browse files Browse the repository at this point in the history
  • Loading branch information
goaaats committed Aug 23, 2022
1 parent 2d68c74 commit 350ffc1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dalamud/Game/ClientState/Statuses/Status.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ internal Status(IntPtr address)
/// <summary>
/// Gets the parameter value of the status.
/// </summary>
public byte Param => this.Struct->Param;
public ushort Param => this.Struct->Param;

/// <summary>
/// Gets the stack count of this status.
Expand All @@ -53,15 +53,15 @@ internal Status(IntPtr address)
/// <summary>
/// Gets the source ID of this status.
/// </summary>
public uint SourceID => this.Struct->SourceID;
public uint SourceId => this.Struct->SourceID;

/// <summary>
/// Gets the source actor associated with this status.
/// </summary>
/// <remarks>
/// This iterates the actor table, it should be used with care.
/// </remarks>
public GameObject? SourceObject => Service<ObjectTable>.Get().SearchById(this.SourceID);
public GameObject? SourceObject => Service<ObjectTable>.Get().SearchById(this.SourceId);

private FFXIVClientStructs.FFXIV.Client.Game.Status* Struct => (FFXIVClientStructs.FFXIV.Client.Game.Status*)this.Address;
}
Expand Down

0 comments on commit 350ffc1

Please sign in to comment.