mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2026-01-03 06:13:45 +01:00
Add some locking IPC
This commit is contained in:
parent
65b65f572d
commit
4fee749954
5 changed files with 122 additions and 22 deletions
|
|
@ -14,7 +14,9 @@ public class GPoseService : EventWrapper<Action<bool>, GPoseService.Priority>
|
|||
private readonly ConcurrentQueue<Action> _onEnter = new();
|
||||
|
||||
public enum Priority
|
||||
{ }
|
||||
{
|
||||
GlamourerIpc = int.MinValue,
|
||||
}
|
||||
|
||||
public bool InGPose { get; private set; } = false;
|
||||
|
||||
|
|
@ -22,6 +24,7 @@ public class GPoseService : EventWrapper<Action<bool>, GPoseService.Priority>
|
|||
: base(nameof(GPoseService))
|
||||
{
|
||||
_framework = framework;
|
||||
InGPose = GameMain.IsInGPose();
|
||||
_framework.Update += OnFramework;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue