Protocol
PortalIds
The ids portals and their links are named by (docs/portals.md D6): derived, so every process computes the same one.
generated from the sources
Static class in namespace
Nebula · Packages/com.1by3.nebula/Runtime/Protocol/PortalMessages.cspublic static class PortalIdsThe ids portals and their links are named by (docs/portals.md D6): derived, so every process computes the same one.
Methods
Of
public static ulong Of(string containerId, string id);A portal's id: ScopeKeys.Hash of containerId + "#" + id, id unique within the near container.
PartyHash
public static ulong PartyHash(string party);The hash a party travels as: parties are opaque strings (docs/portals.md D8) and may be a player's identity, so only this goes to clients.
Link
public static ulong Link(ulong portalId, string party);A link's id: the portal and the party it is for.