From d78d88e089b7c54a63674016098de2f86a2bc2f3 Mon Sep 17 00:00:00 2001 From: pohky Date: Thu, 9 Dec 2021 16:34:35 +0100 Subject: [PATCH] fix formatting --- .../ClientState/Aetherytes/AetheryteEntry.cs | 18 +++++++++--------- .../ClientState/Aetherytes/AetheryteList.cs | 10 +++++----- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Dalamud/Game/ClientState/Aetherytes/AetheryteEntry.cs b/Dalamud/Game/ClientState/Aetherytes/AetheryteEntry.cs index 3020c6ba0..9ada955f2 100644 --- a/Dalamud/Game/ClientState/Aetherytes/AetheryteEntry.cs +++ b/Dalamud/Game/ClientState/Aetherytes/AetheryteEntry.cs @@ -20,47 +20,47 @@ namespace Dalamud.Game.ClientState.Aetherytes } /// - ///Gets the Aetheryte ID. + /// Gets the Aetheryte ID. /// public uint AetheryteId => this.data.AetheryteId; /// - ///Gets the Territory ID. + /// Gets the Territory ID. /// public uint TerritoryId => this.data.TerritoryId; /// - ///Gets the SubIndex used when there can be multiple Aetherytes with the same ID (Private/Shared Estates etc.). + /// Gets the SubIndex used when there can be multiple Aetherytes with the same ID (Private/Shared Estates etc.). /// public byte SubIndex => this.data.SubIndex; /// - ///Gets the Ward. Zero if not a Shared Estate. + /// Gets the Ward. Zero if not a Shared Estate. /// public byte Ward => this.data.Ward; /// - ///Gets the Plot. Zero if not a Shared Estate. + /// Gets the Plot. Zero if not a Shared Estate. /// public byte Plot => this.data.Plot; /// - ///Gets the Cost in Gil to Teleport to this location. + /// Gets the Cost in Gil to Teleport to this location. /// public uint GilCost => this.data.GilCost; /// - ///Gets if the LocalPlayer has set this Aetheryte as Favorite. + /// Gets a value indicating whether the LocalPlayer has set this Aetheryte as Favorite or not. /// public bool IsFavourite => this.data.IsFavourite != 0; /// - ///Gets if this Aetheryte is a Shared Estate. + /// Gets a value indicating whether this Aetheryte is a Shared Estate or not. /// public bool IsSharedHouse => this.data.IsSharedHouse; /// - ///Gets if this Aetheryte is an Appartment. + /// Gets a value indicating whether this Aetheryte is an Appartment or not. /// public bool IsAppartment => this.data.IsAppartment; diff --git a/Dalamud/Game/ClientState/Aetherytes/AetheryteList.cs b/Dalamud/Game/ClientState/Aetherytes/AetheryteList.cs index 994b8371e..0f03338d2 100644 --- a/Dalamud/Game/ClientState/Aetherytes/AetheryteList.cs +++ b/Dalamud/Game/ClientState/Aetherytes/AetheryteList.cs @@ -2,6 +2,7 @@ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; + using Dalamud.IoC; using Dalamud.IoC.Internal; using Serilog; @@ -15,8 +16,6 @@ namespace Dalamud.Game.ClientState.Aetherytes [InterfaceVersion("1.0")] public sealed partial class AetheryteList { - private delegate void UpdateAetheryteListDelegate(IntPtr telepo, byte arg1); - private readonly ClientStateAddressResolver address; private readonly UpdateAetheryteListDelegate updateAetheryteListFunc; @@ -32,6 +31,8 @@ namespace Dalamud.Game.ClientState.Aetherytes Log.Verbose($"Teleport address 0x{this.address.Telepo.ToInt64():X}"); } + private delegate void UpdateAetheryteListDelegate(IntPtr telepo, byte arg1); + /// /// Gets the amount of Aetherytes the local player has unlocked. /// @@ -64,7 +65,7 @@ namespace Dalamud.Game.ClientState.Aetherytes { get { - if (index < 0 || index >= Length) + if (index < 0 || index >= this.Length) { return null; } @@ -95,7 +96,6 @@ namespace Dalamud.Game.ClientState.Aetherytes /// public sealed partial class AetheryteList : IReadOnlyCollection { - /// public int Count => this.Length; @@ -111,7 +111,7 @@ namespace Dalamud.Game.ClientState.Aetherytes /// IEnumerator IEnumerable.GetEnumerator() { - return GetEnumerator(); + return this.GetEnumerator(); } } }