ServiceJoinRoom(Room, UInt16) Method

Joins the specified room using the provided PIN for authentication.

Definition

Namespace: Alteruna.Multiplayer.Core
Assembly: Alteruna (in Alteruna.dll) Version: 2.0.1+a1176e08a0b4a6bfd8fefeddde6163a16d29e5ab
C#
public void JoinRoom(
	Room room,
	ushort pin
)

Parameters

room  Room
The room to join. Must not be null.
pin  UInt16
The PIN code required to access the room.

Exceptions

ArgumentNullException Thrown if the specified room is null.
AlterunaServiceNotStartedException Thrown if the Alteruna service has not properly been initialized and started.

See Also