PlayerIO

The fastest way to build online games without breaking a sweat.

.NET Client Reference

Multiplayer  class documentationClass RoomInfo

Namespace: PlayerIOClient
Language: C# / .NET

Class that describes a room instance. Instances of this class are returned by client.Multiplayer.ListRooms requests

Properties

 
public string
Id  [read-only]

The id of the room

public int
OnlineUsers  [read-only]

How many users are currently in the room

public Dictionary<string, string>
RoomData  [read-only]

The current room data for the room

public string
RoomType  [read-only]

The type of the room (corresponding to the [RoomType(...)] attribute assigned to the room)

RoomInfo.Id

public string
Id  [read-only]

The id of the room

RoomInfo.OnlineUsers

public int
OnlineUsers  [read-only]

How many users are currently in the room

RoomInfo.RoomData

public Dictionary<string, string>
RoomData  [read-only]

The current room data for the room

RoomInfo.RoomType

public string
RoomType  [read-only]

The type of the room (corresponding to the [RoomType(...)] attribute assigned to the room)