mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +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.IoC;
|
||||
using Dalamud.IoC.Internal;
|
||||
using Dalamud.Plugin.Services;
|
||||
|
||||
|
|
@ -15,9 +16,10 @@ namespace Dalamud.Game.PlayerState;
|
|||
/// <summary>
|
||||
/// This class contains the PlayerState wrappers.
|
||||
/// </summary>
|
||||
[PluginInterface]
|
||||
[ServiceManager.EarlyLoadedService]
|
||||
[ResolveVia<IPlayerState>]
|
||||
internal unsafe class PlayerState : IPlayerState, IServiceType
|
||||
internal unsafe class PlayerState : IServiceType, IPlayerState
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public bool IsLoaded => CSPlayerState.Instance()->IsLoaded;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue