Player.IO

Build fun, powerful & scalable online and mobile games with the reliable backend your users expect

Sign Up | Sign In

ActionScript3 Reference

actionscript 3 RoomInfo class informationClass RoomInfo

Namespace: playerio
Language: ActionScript 3

Class that describes a room instance. Instances of this class is returned by client.multiplayer.listRooms requests

Properties

 
public
data :Object [read-only]

Data object for the room. These are values that can be defined when the room is created. These values can also be changed on the server.

public
id :String [read-only]

The id of the room.

public
onlineUsers :int [read-only]

How many users are online in this room.

public
roomType :String [read-only]

The room type.

public
serverType :String [read-only]

The server type.

Methods

 
public
toString ():String

Returns a formatted overview of the room.

data

Data object for the room. These are values that can be defined when the room is created. These values can also be changed on the server.

Return Value

id

The id of the room.

Return Value

onlineUsers

How many users are online in this room.

Return Value

roomType

The room type.

Return Value

serverType

The server type.

Return Value

toString

Returns a formatted overview of the room.

Return Value

String