Enum JoinCodeProvider
- Namespace
- Unity.Multiplayer.Core
Which service turns a session into a join code (RFC 0001).
public enum JoinCodeProvider
Fields
Auto = 0The topology's default (ForPublishing(Topology, JoinCodeProvider)): Relay for a listen server (it gets through NAT) when it is installed, else the rendezvous service when a URL is set (HostingOrder(JoinCodeProvider, bool, bool)); the rendezvous service for a dedicated server. A client tries whichever can resolve the code.
None = 1No join codes: players join by address only.
Relay = 2Unity Relay (needs com.unity.services.multiplayer, which defines MINDATTIC_UGS).
Rendezvous = 3The self-hosted rendezvous service (RendezvousUrl).