fix(runtime): restore interaction completion ownership
Preserve prepublication local motion completion, require the PartArray enter-world lifecycle port, and balance deferred Use busy ownership across dispatch and cancellation. Reconcile the completed GameWindow connected gates and add regression coverage. Co-authored-by: Codex <codex@openai.com>
This commit is contained in:
parent
5c955c36ec
commit
f9736ece6c
26 changed files with 675 additions and 68 deletions
|
|
@ -169,6 +169,18 @@ internal sealed class DeferredSelectionUiAuthority
|
|||
target?.SendUse(guid);
|
||||
}
|
||||
|
||||
public void RequestUse(uint guid, ItemUseRequestReservation reservation)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(reservation);
|
||||
SelectionInteractionController? target;
|
||||
lock (_gate)
|
||||
target = !_deactivated ? _interactions : null;
|
||||
if (target is null)
|
||||
reservation.CancelBeforeDispatch();
|
||||
else
|
||||
target.RequestUse(guid, reservation);
|
||||
}
|
||||
|
||||
public void SendPickup(uint itemGuid, uint destinationContainerId, int placement)
|
||||
{
|
||||
SelectionInteractionController? target;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue