Warnings fixed

This commit is contained in:
cake
2025-11-15 05:11:19 +01:00
parent b56813c1de
commit a869b369aa
5 changed files with 18 additions and 16 deletions

View File

@@ -140,14 +140,14 @@ public class DalamudUtilService : IHostedService, IMediatorSubscriber
public bool IsWine { get; init; }
public static unsafe GameObject* GposeTarget
public unsafe GameObject* GposeTarget
{
get => TargetSystem.Instance()->GPoseTarget;
set => TargetSystem.Instance()->GPoseTarget = value;
}
private static unsafe bool HasGposeTarget => GposeTarget != null;
private static unsafe int GPoseTargetIdx => !HasGposeTarget ? -1 : GposeTarget->ObjectIndex;
private unsafe bool HasGposeTarget => GposeTarget != null;
private unsafe int GPoseTargetIdx => !HasGposeTarget ? -1 : GposeTarget->ObjectIndex;
public async Task<IGameObject?> GetGposeTargetGameObjectAsync()
{