mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 05:04:15 +01:00
Improve wording
This commit is contained in:
parent
8cac486249
commit
c2fc04c3a8
2 changed files with 12 additions and 11 deletions
|
|
@ -109,7 +109,7 @@ public interface IClientState
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the local player character, if one is present.
|
/// Gets the local player character, if one is present.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Obsolete($"Use {nameof(IPlayerState)} or {nameof(IObjectTable)}.{nameof(IObjectTable.LocalPlayer)} if you need to.")]
|
[Obsolete($"Use {nameof(IPlayerState)} or {nameof(IObjectTable)}.{nameof(IObjectTable.LocalPlayer)} if necessary.")]
|
||||||
public IPlayerCharacter? LocalPlayer { get; }
|
public IPlayerCharacter? LocalPlayer { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
|
|
@ -8,15 +8,16 @@ namespace Dalamud.Plugin.Services;
|
||||||
#pragma warning disable SA1400 // Access modifier should be declared: Interface members are public by default
|
#pragma warning disable SA1400 // Access modifier should be declared: Interface members are public by default
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Interface for determining unlock state of various content in the game.
|
/// Interface for determining the players state.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public interface IPlayerState
|
public interface IPlayerState
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets a value indicating whether the local character is loaded.
|
/// Gets a value indicating whether the local players data is loaded.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// The actual GameObject will not immediately exist when this changes to true.
|
/// PlayerState is separate from <see cref="IObjectTable.LocalPlayer"/>,
|
||||||
|
/// and as such the game object might not exist when it's loaded.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
bool IsLoaded { get; }
|
bool IsLoaded { get; }
|
||||||
|
|
||||||
|
|
@ -141,37 +142,37 @@ public interface IPlayerState
|
||||||
RowRef<GrandCompany> GrandCompany { get; }
|
RowRef<GrandCompany> GrandCompany { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the Aetheryte row for the local character's home aetheryte.
|
/// Gets the Aetheryte row for the local player's home aetheryte.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
RowRef<Aetheryte> HomeAetheryte { get; }
|
RowRef<Aetheryte> HomeAetheryte { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets a span of Aetheryte rows for the local character's favourite aetherytes.
|
/// Gets a span of Aetheryte rows for the local player's favourite aetherytes.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
ReadOnlySpan<RowRef<Aetheryte>> FavouriteAetherytes { get; }
|
ReadOnlySpan<RowRef<Aetheryte>> FavouriteAetherytes { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the Aetheryte row for the local character's free aetheryte.
|
/// Gets the Aetheryte row for the local player's free aetheryte.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
RowRef<Aetheryte> FreeAetheryte { get; }
|
RowRef<Aetheryte> FreeAetheryte { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the amount of received player commendations of the local character.
|
/// Gets the amount of received player commendations of the local player.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
uint BaseRestedExperience { get; }
|
uint BaseRestedExperience { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the amount of received player commendations of the local character.
|
/// Gets the amount of received player commendations of the local player.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
short PlayerCommendations { get; }
|
short PlayerCommendations { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the Carrier Level of Delivery Moogle Quests of the local character.
|
/// Gets the Carrier Level of Delivery Moogle Quests of the local player.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
byte DeliveryLevel { get; }
|
byte DeliveryLevel { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the mentor version of the local character.
|
/// Gets the mentor version of the local player.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
MentorVersion MentorVersion { get; }
|
MentorVersion MentorVersion { get; }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue