Make obsoletions for ClientState error

This commit is contained in:
goaaats 2025-12-18 20:55:04 +01:00
parent a56d2cf40b
commit 19fca721e9

View file

@ -109,13 +109,13 @@ public interface IClientState : IDalamudService
/// <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 necessary.")] [Obsolete($"Use {nameof(IPlayerState)} or {nameof(IObjectTable)}.{nameof(IObjectTable.LocalPlayer)} if necessary.", true)]
public IPlayerCharacter? LocalPlayer { get; } public IPlayerCharacter? LocalPlayer { get; }
/// <summary> /// <summary>
/// Gets the content ID of the local character. /// Gets the content ID of the local character.
/// </summary> /// </summary>
[Obsolete($"Use {nameof(IPlayerState)}.{nameof(IPlayerState.ContentId)}")] [Obsolete($"Use {nameof(IPlayerState)}.{nameof(IPlayerState.ContentId)}", true)]
public ulong LocalContentId { get; } public ulong LocalContentId { get; }
/// <summary> /// <summary>