Border crossing and relocation

Same EnterZoneReq/EnterZoneRes pair for same-owner and cross-owner moves · relocation admission and Capture/Restore when the owner differs

Border crossing and relocation Same EnterZoneReq/EnterZoneRes pair for same-owner and cross-owner moves · relocation admission and Capture/Restore when the owner differs MoveMsg(target coordinate) MoveMsg validate adjacent zone; EnterZoneReq relocation admission when owner differs Capture and Restore actor state → target owner ready ZoneChangedNotify ZoneChangedNotify DeliverZoneStateMsg ZoneStateNotify through same binding ZoneStateNotify Game Browser · Sequence participant Game Browser Gateway · Sequence participant Gateway Player Actor · Sequence participant Player Actor Source Zone Spot · Sequence participant Source Zone Spot Target Zone Spot · Sequence participant Target Zone Spot Target ZoneNode · Sequence participant Target ZoneNode

Self-actions folded into the following message (archify sequence rejects from==to)

  • • mermaid A->>A: validate adjacent zone — the Player Actor validates the adjacent zone before sending EnterZoneReq to the Target Zone Spot.
  • • mermaid N->>N: Capture and Restore actor state — the Target ZoneNode captures and restores actor state before replying "target owner ready" to the Player Actor.

Same-owner vs. cross-owner, and Source Zone Spot

  • • If the target zone owner is the same, only membership changes; if different, the same Player Actor materializes at the target owner, which is a relocation — the Application doesn't distinguish the two cases by NodeId, both use the EnterZoneReq/EnterZoneRes request/reply pair.
  • • Source Zone Spot (participant S) is declared in the original diagram but receives no message in this flow — the source doesn't re-query the Location Store or automatically resubmit the same operation to a different owner while Following.
  • • Relocation keeps the ActorId and ObjectGeneration and only changes the owner generation. A one-way or request message that arrives at the previous owner during relocation Follows to the committed target.