mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Fix warnings
This commit is contained in:
parent
fc562778da
commit
c0c61c66be
4 changed files with 11 additions and 11 deletions
|
|
@ -22,6 +22,9 @@ public unsafe class SMNGauge : JobGaugeBase<SummonerGauge>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public ushort SummonTimerRemaining => this.Struct->SummonTimer;
|
public ushort SummonTimerRemaining => this.Struct->SummonTimer;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets the time remaining for the current attunement.
|
||||||
|
/// </summary>
|
||||||
[Obsolete("Typo fixed. Use AttunementTimerRemaining instead.", true)]
|
[Obsolete("Typo fixed. Use AttunementTimerRemaining instead.", true)]
|
||||||
public ushort AttunmentTimerRemaining => this.AttunementTimerRemaining;
|
public ushort AttunmentTimerRemaining => this.AttunementTimerRemaining;
|
||||||
|
|
||||||
|
|
@ -102,19 +105,19 @@ public unsafe class SMNGauge : JobGaugeBase<SummonerGauge>
|
||||||
/// Gets a value indicating whether if Ifrit is currently attuned.
|
/// Gets a value indicating whether if Ifrit is currently attuned.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns><c>true</c> or <c>false</c>.</returns>
|
/// <returns><c>true</c> or <c>false</c>.</returns>
|
||||||
public bool IsIfritAttuned => this.AttunementType == SummonAttunement.IFRIT;
|
public bool IsIfritAttuned => this.AttunementType == SummonAttunement.Ifrit;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets a value indicating whether if Titan is currently attuned.
|
/// Gets a value indicating whether if Titan is currently attuned.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns><c>true</c> or <c>false</c>.</returns>
|
/// <returns><c>true</c> or <c>false</c>.</returns>
|
||||||
public bool IsTitanAttuned => this.AttunementType == SummonAttunement.TITAN;
|
public bool IsTitanAttuned => this.AttunementType == SummonAttunement.Titan;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets a value indicating whether if Garuda is currently attuned.
|
/// Gets a value indicating whether if Garuda is currently attuned.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns><c>true</c> or <c>false</c>.</returns>
|
/// <returns><c>true</c> or <c>false</c>.</returns>
|
||||||
public bool IsGarudaAttuned => this.AttunementType == SummonAttunement.GARUDA;
|
public bool IsGarudaAttuned => this.AttunementType == SummonAttunement.Garuda;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets a value indicating whether there are any Aetherflow stacks available.
|
/// Gets a value indicating whether there are any Aetherflow stacks available.
|
||||||
|
|
|
||||||
|
|
@ -85,8 +85,9 @@ internal class SheetRedirectResolver : IServiceType
|
||||||
{
|
{
|
||||||
flags |= SheetRedirectFlags.HighQuality;
|
flags |= SheetRedirectFlags.HighQuality;
|
||||||
}
|
}
|
||||||
else if (kind == ItemKind.Collectible || sheetName == "ItemMP") // MP for Masterpiece?!
|
else if (kind == ItemKind.Collectible || sheetName == "ItemMP")
|
||||||
{
|
{
|
||||||
|
// MP for Masterpiece?!
|
||||||
flags |= SheetRedirectFlags.Collectible;
|
flags |= SheetRedirectFlags.Collectible;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,12 @@ using System.Runtime.CompilerServices;
|
||||||
|
|
||||||
using Dalamud.Data;
|
using Dalamud.Data;
|
||||||
using Dalamud.Game;
|
using Dalamud.Game;
|
||||||
using Dalamud.Game.Text.SeStringHandling.Payloads;
|
|
||||||
using Dalamud.Game.Text;
|
using Dalamud.Game.Text;
|
||||||
|
|
||||||
using Lumina.Excel.Sheets;
|
using Lumina.Excel.Sheets;
|
||||||
|
using Lumina.Text;
|
||||||
using Lumina.Text.ReadOnly;
|
using Lumina.Text.ReadOnly;
|
||||||
|
|
||||||
using static Dalamud.Game.Text.SeStringHandling.Payloads.ItemPayload;
|
using static Dalamud.Game.Text.SeStringHandling.Payloads.ItemPayload;
|
||||||
using Lumina.Text;
|
|
||||||
|
|
||||||
namespace Dalamud.Utility;
|
namespace Dalamud.Utility;
|
||||||
|
|
||||||
|
|
@ -128,10 +126,10 @@ internal static class ItemUtil
|
||||||
|
|
||||||
switch (kind)
|
switch (kind)
|
||||||
{
|
{
|
||||||
case ItemPayload.ItemKind.Hq:
|
case ItemKind.Hq:
|
||||||
builder.Append($" {(char)SeIconChar.HighQuality}");
|
builder.Append($" {(char)SeIconChar.HighQuality}");
|
||||||
break;
|
break;
|
||||||
case ItemPayload.ItemKind.Collectible:
|
case ItemKind.Collectible:
|
||||||
builder.Append($" {(char)SeIconChar.Collectible}");
|
builder.Append($" {(char)SeIconChar.Collectible}");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -12,14 +12,12 @@ using System.Runtime.InteropServices;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
using Dalamud.Configuration.Internal;
|
|
||||||
using Dalamud.Data;
|
using Dalamud.Data;
|
||||||
using Dalamud.Game;
|
using Dalamud.Game;
|
||||||
using Dalamud.Game.ClientState.Objects.SubKinds;
|
using Dalamud.Game.ClientState.Objects.SubKinds;
|
||||||
using Dalamud.Game.ClientState.Objects.Types;
|
using Dalamud.Game.ClientState.Objects.Types;
|
||||||
using Dalamud.Interface.Colors;
|
using Dalamud.Interface.Colors;
|
||||||
using Dalamud.Interface.Utility;
|
using Dalamud.Interface.Utility;
|
||||||
using Dalamud.Logging.Internal;
|
|
||||||
using Dalamud.Interface.Utility.Raii;
|
using Dalamud.Interface.Utility.Raii;
|
||||||
using Dalamud.Support;
|
using Dalamud.Support;
|
||||||
using ImGuiNET;
|
using ImGuiNET;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue