Fix some warnings

This commit is contained in:
goaaats 2025-04-08 22:21:04 +02:00
parent af2b451955
commit ad3b0f0194
174 changed files with 224 additions and 597 deletions

View file

@ -4,19 +4,15 @@ using System.Runtime.InteropServices;
using System.Text;
using BitFaster.Caching.Lru;
using Dalamud.Bindings.ImGui;
using Dalamud.Data;
using Dalamud.Game;
using Dalamud.Game.Text.SeStringHandling;
using Dalamud.Interface.ImGuiSeStringRenderer.Internal.TextProcessing;
using Dalamud.Interface.Utility;
using Dalamud.Utility;
using FFXIVClientStructs.FFXIV.Client.System.String;
using FFXIVClientStructs.FFXIV.Client.UI;
using Dalamud.Bindings.ImGui;
using Lumina.Excel.Sheets;
using Lumina.Text;
using Lumina.Text.Parse;

View file

@ -21,7 +21,7 @@ public record struct SeStringDrawParams
public SeStringReplacementEntity.GetEntityDelegate? GetEntity { get; set; }
/// <summary>Gets or sets the screen offset of the left top corner.</summary>
/// <value>Screen offset to draw at, or <c>null</c> to use <see cref="ImGui.GetCursorScreenPos"/>.</value>
/// <value>Screen offset to draw at, or <c>null</c> to use <see cref="ImGui.GetCursorScreenPos()"/>.</value>
public Vector2? ScreenOffset { get; set; }
/// <summary>Gets or sets the font to use.</summary>
@ -40,7 +40,7 @@ public record struct SeStringDrawParams
/// <summary>Gets or sets the wrapping width.</summary>
/// <value>Width in pixels, or <c>null</c> to wrap at the end of available content region from
/// <see cref="ImGui.GetContentRegionAvail"/> (the default).</value>
/// <see cref="ImGui.GetContentRegionAvail()"/> (the default).</value>
public float? WrapWidth { get; set; }
/// <summary>Gets or sets the thickness of underline under links.</summary>

View file

@ -3,13 +3,10 @@ using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
using Dalamud.Bindings.ImGui;
using Dalamud.Interface.ImGuiSeStringRenderer.Internal;
using Dalamud.Interface.Utility;
using FFXIVClientStructs.FFXIV.Component.GUI;
using Dalamud.Bindings.ImGui;
using Lumina.Text.Payloads;
using Lumina.Text.ReadOnly;