mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-01-03 06:13:45 +01:00
Some cleanup
This commit is contained in:
parent
91d9e465ed
commit
be729afd4b
6 changed files with 5 additions and 8 deletions
|
|
@ -1,5 +1,3 @@
|
|||
using FFXIVClientStructs.FFXIV.Client.Graphics.Render;
|
||||
using Penumbra.Collections.Manager;
|
||||
using Penumbra.GameData.Structs;
|
||||
using Penumbra.Interop.PathResolving;
|
||||
using Penumbra.Meta;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
using OtterGui.Classes;
|
||||
using Penumbra.Api;
|
||||
using Penumbra.Api.Api;
|
||||
using Penumbra.Services;
|
||||
|
||||
|
|
@ -19,7 +18,7 @@ public sealed class CreatingCharacterBase()
|
|||
{
|
||||
public enum Priority
|
||||
{
|
||||
/// <seealso cref="PenumbraApi.CreatingCharacterBase"/>
|
||||
/// <seealso cref="GameStateApi.CreatingCharacterBase"/>
|
||||
Api = 0,
|
||||
|
||||
/// <seealso cref="CrashHandlerService.OnCreatingCharacterBase"/>
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ public unsafe class EqdpAccessoryHook : FastHook<EqdpAccessoryHook.Delegate>
|
|||
if (_metaState.EqdpCollection.TryPeek(out var collection)
|
||||
&& collection is { Valid: true, ModCollection.MetaCache: { } cache })
|
||||
*entry = cache.Eqdp.ApplyFullEntry(new PrimaryId((ushort)setId), (GenderRace)raceCode, true, *entry);
|
||||
Penumbra.Log.Information(
|
||||
Penumbra.Log.Excessive(
|
||||
$"[GetEqdpAccessoryEntry] Invoked on 0x{(ulong)utility:X} with {setId}, {(GenderRace)raceCode}, returned {(ushort)*entry:B10}.");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ public unsafe class EqdpEquipHook : FastHook<EqdpEquipHook.Delegate>
|
|||
if (_metaState.EqdpCollection.TryPeek(out var collection)
|
||||
&& collection is { Valid: true, ModCollection.MetaCache: { } cache })
|
||||
*entry = cache.Eqdp.ApplyFullEntry(new PrimaryId((ushort)setId), (GenderRace)raceCode, false, *entry);
|
||||
Penumbra.Log.Information(
|
||||
Penumbra.Log.Excessive(
|
||||
$"[GetEqdpEquipEntry] Invoked on 0x{(ulong)utility:X} with {setId}, {(GenderRace)raceCode}, returned {(ushort)*entry:B10}.");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ public unsafe class RspBustHook : FastHook<RspBustHook.Delegate>
|
|||
ret = Task.Result.Original(cmpResource, storage, race, gender, isSecondSubRace, bodyType, bustSize);
|
||||
}
|
||||
|
||||
Penumbra.Log.Information(
|
||||
Penumbra.Log.Excessive(
|
||||
$"[GetRspBust] Invoked on 0x{cmpResource:X} with {race}, {(Gender)(gender + 1)}, {isSecondSubRace == 1}, {bodyType}, {bustSize}, returned {storage[0]}, {storage[1]}, {storage[2]}.");
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -261,7 +261,7 @@ public sealed class ModManager : ModStorage, IDisposable
|
|||
|
||||
/// <summary>
|
||||
/// Set the mod base directory.
|
||||
/// If its not the first time, check if it is the same directory as before.
|
||||
/// If it's not the first time, check if it is the same directory as before.
|
||||
/// Also checks if the directory is available and tries to create it if it is not.
|
||||
/// </summary>
|
||||
private void SetBaseDirectory(string newPath, bool firstTime, out string resultNewDir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue