fix: CS upgrade breakage

This commit is contained in:
goat 2022-08-23 20:52:27 +02:00
parent 2d68c74a77
commit 350ffc1fbf
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B

View file

@ -38,7 +38,7 @@ namespace Dalamud.Game.ClientState.Statuses
/// <summary> /// <summary>
/// Gets the parameter value of the status. /// Gets the parameter value of the status.
/// </summary> /// </summary>
public byte Param => this.Struct->Param; public ushort Param => this.Struct->Param;
/// <summary> /// <summary>
/// Gets the stack count of this status. /// Gets the stack count of this status.
@ -53,7 +53,7 @@ namespace Dalamud.Game.ClientState.Statuses
/// <summary> /// <summary>
/// Gets the source ID of this status. /// Gets the source ID of this status.
/// </summary> /// </summary>
public uint SourceID => this.Struct->SourceID; public uint SourceId => this.Struct->SourceID;
/// <summary> /// <summary>
/// Gets the source actor associated with this status. /// Gets the source actor associated with this status.
@ -61,7 +61,7 @@ namespace Dalamud.Game.ClientState.Statuses
/// <remarks> /// <remarks>
/// This iterates the actor table, it should be used with care. /// This iterates the actor table, it should be used with care.
/// </remarks> /// </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; private FFXIVClientStructs.FFXIV.Client.Game.Status* Struct => (FFXIVClientStructs.FFXIV.Client.Game.Status*)this.Address;
} }