mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Add PluginInterface attribute to PlayerState
This commit is contained in:
parent
4422622e1e
commit
8cac486249
1 changed files with 3 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
using Dalamud.Data;
|
using Dalamud.Data;
|
||||||
|
using Dalamud.IoC;
|
||||||
using Dalamud.IoC.Internal;
|
using Dalamud.IoC.Internal;
|
||||||
using Dalamud.Plugin.Services;
|
using Dalamud.Plugin.Services;
|
||||||
|
|
||||||
|
|
@ -15,9 +16,10 @@ namespace Dalamud.Game.PlayerState;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This class contains the PlayerState wrappers.
|
/// This class contains the PlayerState wrappers.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[PluginInterface]
|
||||||
[ServiceManager.EarlyLoadedService]
|
[ServiceManager.EarlyLoadedService]
|
||||||
[ResolveVia<IPlayerState>]
|
[ResolveVia<IPlayerState>]
|
||||||
internal unsafe class PlayerState : IPlayerState, IServiceType
|
internal unsafe class PlayerState : IServiceType, IPlayerState
|
||||||
{
|
{
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
public bool IsLoaded => CSPlayerState.Instance()->IsLoaded;
|
public bool IsLoaded => CSPlayerState.Instance()->IsLoaded;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue