InviteCodeEncodeInviteCode Method

Encode a room id and pin code into an invite code. If the room have a pin code, it have to be provided for a valid link.

Definition

Namespace: Alteruna.Multiplayer.Core
Assembly: Alteruna.Multiplayer (in Alteruna.Multiplayer.dll) Version: 2.1.3+c5328b35489e83c42e288435f5acf6115fd519e0
C#
public static string EncodeInviteCode(
	uint roomID,
	ushort pin = 0
)

Parameters

roomID  UInt32
Room id.
pin  UInt16  (Optional)
pincode / password for the room.

Return Value

String

Exceptions

NotInRoomExceptionThrown when not in a room.

See Also