mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Add some Redrawing Debug UI.
This commit is contained in:
parent
79c43fe7b1
commit
7dabb3c647
2 changed files with 59 additions and 3 deletions
|
|
@ -18,10 +18,13 @@ public unsafe partial class RedrawService
|
|||
public const int GPoseSlots = 42;
|
||||
public const int GPoseEndIdx = GPosePlayerIdx + GPoseSlots;
|
||||
|
||||
private readonly string?[] _gPoseNames = new string?[GPoseSlots];
|
||||
private readonly string?[] _gPoseNames = new string?[GPoseSlots];
|
||||
private int _gPoseNameCounter;
|
||||
|
||||
private bool InGPose
|
||||
internal IReadOnlyList<string?> GPoseNames
|
||||
=> _gPoseNames;
|
||||
|
||||
internal bool InGPose
|
||||
=> _clientState.IsGPosing;
|
||||
|
||||
// VFuncs that disable and enable draw, used only for GPose actors.
|
||||
|
|
@ -108,6 +111,15 @@ public sealed unsafe partial class RedrawService : IDisposable
|
|||
private readonly List<int> _afterGPoseQueue = new(GPoseSlots);
|
||||
private int _target = -1;
|
||||
|
||||
internal IReadOnlyList<int> Queue
|
||||
=> _queue;
|
||||
|
||||
internal IReadOnlyList<int> AfterGPoseQueue
|
||||
=> _afterGPoseQueue;
|
||||
|
||||
internal int Target
|
||||
=> _target;
|
||||
|
||||
public event GameObjectRedrawnDelegate? GameObjectRedrawn;
|
||||
|
||||
public RedrawService(IFramework framework, IObjectTable objects, ITargetManager targets, ICondition conditions, IClientState clientState)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue