RoomArgs Class

Arguments for creating a room.

Definition

Namespace: Alteruna.Multiplayer.Core.MethodArguments
Assembly: Alteruna (in Alteruna.dll) Version: 2.0.1+a1176e08a0b4a6bfd8fefeddde6163a16d29e5ab
C#
public class RoomArgs : ISessionCustomDataRO
Inheritance
Object    RoomArgs
Implements
ISessionCustomDataRO

Constructors

Properties

CustomData Custom data for a room.
DisplayName The name of this Room.
Host The host user id of a room. If set to 65535, there will be no explicit host, and instead the user with the lowest ID will be "host".
JoinRoom Whether to join the room after creating it.
MaxUsers Maximum number of users allowed in the room. 0 for default.
OnDemand Defines if this Room will automatically close when empty.
PinCode Pin code for the room. 0 means no pin code.
Private Defines if this Room should appear in room lists.
SceneId Base room scene id. -1 means no specified scene.

See Also