fix all warnings and breaking changes for CS (#2061)

This commit is contained in:
wolfcomp 2024-11-05 06:14:51 +01:00 committed by GitHub
parent b570564258
commit 30d56e4d11
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 24 additions and 14 deletions

View file

@ -71,8 +71,14 @@ public interface IFate : IEquatable<IFate>
/// <summary>
/// Gets a value indicating whether or not this <see cref="Fate"/> has a EXP bonus.
/// </summary>
[Obsolete("Use HasBonus instead")]
bool HasExpBonus { get; }
/// <summary>
/// Gets a value indicating whether or not this <see cref="Fate"/> has a bonus.
/// </summary>
bool HasBonus { get; }
/// <summary>
/// Gets the icon id of this <see cref="Fate"/>.
/// </summary>
@ -216,8 +222,12 @@ internal unsafe partial class Fate : IFate
public byte Progress => this.Struct->Progress;
/// <inheritdoc/>
[Obsolete("Use HasBonus instead")]
public bool HasExpBonus => this.Struct->IsExpBonus;
/// <inheritdoc/>
public bool HasBonus => this.Struct->IsBonus;
/// <inheritdoc/>
public uint IconId => this.Struct->IconId;