Implemented rest of profile methods for IPC
This commit is contained in:
@@ -6,6 +6,7 @@ using CustomizePlus.GameData.Data;
|
||||
using CustomizePlus.GameData.Services;
|
||||
using CustomizePlus.GameData.Extensions;
|
||||
using Penumbra.GameData.Enums;
|
||||
using DalamudGameObject = Dalamud.Game.ClientState.Objects.Types.GameObject;
|
||||
|
||||
namespace CustomizePlus.Game.Services;
|
||||
|
||||
@@ -69,4 +70,14 @@ public class GameObjectService
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public Actor GetLocalPlayerActor()
|
||||
{
|
||||
return _objectManager.Player;
|
||||
}
|
||||
|
||||
public DalamudGameObject? GetDalamudGameObjectFromActor(Actor actor)
|
||||
{
|
||||
return _objectTable.CreateObjectReference(actor);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user