Snapshot for release 2026.10.27.1 (internal ed07fd7)
This commit is contained in:
parent
539a7a3e64
commit
f4246dbbd0
7 changed files with 87 additions and 9 deletions
|
|
@ -218,7 +218,8 @@ internal static unsafe class AcPanels
|
|||
{
|
||||
if (Requests.IsEmpty) return;
|
||||
long now = Environment.TickCount64;
|
||||
if (PlayerLifecycleLog.HoldQueuedWork(now)) return;
|
||||
// Not held between worlds: a panel opens and closes in portal space as with AC's own keys
|
||||
// (held, a click there or just after landing was dropped; Tom 2026-10-23).
|
||||
while (Requests.TryDequeue(out Request r))
|
||||
{
|
||||
if (now - r.QueuedMs > 3000) continue;
|
||||
|
|
|
|||
|
|
@ -31,8 +31,7 @@
|
|||
// clear gmToolbarUI::RemoveShortcutInSlotNum(slot, 1) 0x004BE180, ret 8.
|
||||
// Queued from any thread and run on AC's game thread just before its tick
|
||||
// (GameTickHooks, beside the cast drain: AC's own input -> UseTime order),
|
||||
// held while the player is between worlds (PlayerLifecycleLog), dropped after
|
||||
// 6 s. The slots are read on the game thread after the tick, 4 times a second,
|
||||
// dropped after 6 s. Not held between worlds: the keys aren't either. The slots are read on the game thread after the tick, 4 times a second,
|
||||
// into a snapshot GetShortcuts returns from any thread.
|
||||
// ============================================================================
|
||||
|
||||
|
|
@ -184,12 +183,9 @@ internal static unsafe class AcShortcuts
|
|||
{
|
||||
if (Queue.IsEmpty) return;
|
||||
long now = Environment.TickCount64;
|
||||
if (PlayerLifecycleLog.HoldQueuedWork(now))
|
||||
{
|
||||
// Between worlds: keep them, unless they waited too long.
|
||||
while (Queue.TryPeek(out Request old) && now - old.QueuedMs > GiveUpMs) Queue.TryDequeue(out _);
|
||||
return;
|
||||
}
|
||||
// Not held between worlds (portal space, the seconds after landing): a slot pressed then does
|
||||
// what its key does then - AC's own toolbar call, which AC answers or refuses itself. Held,
|
||||
// a click in portal space did nothing (Tom 2026-10-23). Logout empties the queue (Reset).
|
||||
IntPtr toolbar = RetailToolbarHooks.ShortcutToolbar();
|
||||
while (Queue.TryDequeue(out Request r))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue