Implemented rest of profile methods for IPC

This commit is contained in:
RisaDev
2024-03-18 00:15:03 +03:00
parent 37c2882a98
commit 5b71cd479e
12 changed files with 702 additions and 36 deletions

View File

@@ -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);
}
}