Rename namespace PlayerState to Player

This commit is contained in:
Haselnussbomber 2025-11-17 19:29:48 +01:00
parent 2cf869872d
commit 64d4f7061a
No known key found for this signature in database
GPG key ID: BB905BB49E7295D1
16 changed files with 34 additions and 22 deletions

View file

@ -3,6 +3,8 @@ using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Dalamud.Game.Player;
namespace Dalamud.Game.ClientState.Statuses;
/// <summary>
@ -72,7 +74,7 @@ public sealed unsafe partial class StatusList
// The use case for CreateStatusListReference and CreateStatusReference to be static is so
// fake status lists can be generated. Since they aren't exposed as services, it's either
// here or somewhere else.
var playerState = Service<PlayerState.PlayerState>.Get();
var playerState = Service<PlayerState>.Get();
if (!playerState.IsLoaded)
return null;
@ -89,7 +91,7 @@ public sealed unsafe partial class StatusList
if (address == IntPtr.Zero)
return null;
var playerState = Service<PlayerState.PlayerState>.Get();
var playerState = Service<PlayerState>.Get();
if (!playerState.IsLoaded)
return null;