Nebula
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
public static class PortalIds

The 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.

public static ulong Link(ulong portalId, string party);

A link's id: the portal and the party it is for.

On this page