Revert obsolete as error again, fix warnings, Api14ToDo => Api15ToDo
Some checks are pending
Build Dalamud / Build on Windows (push) Waiting to run
Build Dalamud / Check API Compatibility (push) Blocked by required conditions
Build Dalamud / Deploy dalamud-distrib staging (push) Blocked by required conditions
Tag Build / Tag Build (push) Successful in 4s

This commit is contained in:
goaaats 2025-12-18 21:00:07 +01:00
parent 19fca721e9
commit c005bae265
8 changed files with 23 additions and 29 deletions

View file

@ -55,7 +55,9 @@ public class AddonRefreshArgs : AddonArgs
AtkValuePtr ptr;
unsafe
{
#pragma warning disable CS0618 // Type or member is obsolete
ptr = new AtkValuePtr((nint)this.AtkValueSpan.GetPointer(i));
#pragma warning restore CS0618 // Type or member is obsolete
}
yield return ptr;

View file

@ -55,7 +55,9 @@ public class AddonSetupArgs : AddonArgs
AtkValuePtr ptr;
unsafe
{
#pragma warning disable CS0618 // Type or member is obsolete
ptr = new AtkValuePtr((nint)this.AtkValueSpan.GetPointer(i));
#pragma warning restore CS0618 // Type or member is obsolete
}
yield return ptr;

View file

@ -150,7 +150,7 @@ internal sealed unsafe class DtrBarEntry : IDisposable, IDtrBarEntry
}
/// <inheritdoc/>
[Api14ToDo("Maybe make this config scoped to internal name?")]
[Api15ToDo("Maybe make this config scoped to internal name?")]
public bool UserHidden => this.configuration.DtrIgnore?.Contains(this.Title) ?? false;
/// <inheritdoc/>