mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
fix formatting
This commit is contained in:
parent
6158b488a9
commit
d78d88e089
2 changed files with 14 additions and 14 deletions
|
|
@ -20,47 +20,47 @@ namespace Dalamud.Game.ClientState.Aetherytes
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
///Gets the Aetheryte ID.
|
||||
/// Gets the Aetheryte ID.
|
||||
/// </summary>
|
||||
public uint AetheryteId => this.data.AetheryteId;
|
||||
|
||||
/// <summary>
|
||||
///Gets the Territory ID.
|
||||
/// Gets the Territory ID.
|
||||
/// </summary>
|
||||
public uint TerritoryId => this.data.TerritoryId;
|
||||
|
||||
/// <summary>
|
||||
///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.).
|
||||
/// </summary>
|
||||
public byte SubIndex => this.data.SubIndex;
|
||||
|
||||
/// <summary>
|
||||
///Gets the Ward. Zero if not a Shared Estate.
|
||||
/// Gets the Ward. Zero if not a Shared Estate.
|
||||
/// </summary>
|
||||
public byte Ward => this.data.Ward;
|
||||
|
||||
/// <summary>
|
||||
///Gets the Plot. Zero if not a Shared Estate.
|
||||
/// Gets the Plot. Zero if not a Shared Estate.
|
||||
/// </summary>
|
||||
public byte Plot => this.data.Plot;
|
||||
|
||||
/// <summary>
|
||||
///Gets the Cost in Gil to Teleport to this location.
|
||||
/// Gets the Cost in Gil to Teleport to this location.
|
||||
/// </summary>
|
||||
public uint GilCost => this.data.GilCost;
|
||||
|
||||
/// <summary>
|
||||
///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.
|
||||
/// </summary>
|
||||
public bool IsFavourite => this.data.IsFavourite != 0;
|
||||
|
||||
/// <summary>
|
||||
///Gets if this Aetheryte is a Shared Estate.
|
||||
/// Gets a value indicating whether this Aetheryte is a Shared Estate or not.
|
||||
/// </summary>
|
||||
public bool IsSharedHouse => this.data.IsSharedHouse;
|
||||
|
||||
/// <summary>
|
||||
///Gets if this Aetheryte is an Appartment.
|
||||
/// Gets a value indicating whether this Aetheryte is an Appartment or not.
|
||||
/// </summary>
|
||||
public bool IsAppartment => this.data.IsAppartment;
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the amount of Aetherytes the local player has unlocked.
|
||||
/// </summary>
|
||||
|
|
@ -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
|
|||
/// </summary>
|
||||
public sealed partial class AetheryteList : IReadOnlyCollection<AetheryteEntry>
|
||||
{
|
||||
|
||||
/// <inheritdoc/>
|
||||
public int Count => this.Length;
|
||||
|
||||
|
|
@ -111,7 +111,7 @@ namespace Dalamud.Game.ClientState.Aetherytes
|
|||
/// <inheritdoc/>
|
||||
IEnumerator IEnumerable.GetEnumerator()
|
||||
{
|
||||
return GetEnumerator();
|
||||
return this.GetEnumerator();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue