PortalHandoffMsg
MsgId.PortalHandoff (docs/portals.md D44, D45): the links of one portal, sent by the worker that is releasing the portal's near container to the worker that is taking it, together with the release.
Nebula · Packages/com.1by3.nebula/Runtime/Protocol/PortalMessages.cspublic struct PortalHandoffMsgMsgId.PortalHandoff (docs/portals.md D44, D45): the links of one portal, sent by the worker that is releasing the portal's near container to the worker that is taking it, together with the release. Nothing else about a link needs to travel: its far scope and its readiness are worked out again from the portal's own content and the leases.
Fields
PortalId
public ulong PortalId;The portal's derived id (PortalIds.Of).
NearContainerId
public string NearContainerId;The container the near face is fixed in, by id, for the log line when the receiver never holds the portal.
Links
public List<PortalHandoffLink> Links;One entry for each party that ever opened the portal, whatever state its link is in.
Methods
Write
public void Write(NetworkWriter w);Write the message, id byte first.
Read
public static PortalHandoffMsg Read(NetworkReader r);Read the body after the id byte.