PlayerIO

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

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
initData :Object [read-only]

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.

RoomInfo.data

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.

RoomInfo.id

public
id :String [read-only]

The id of the room.

RoomInfo.initData

public
initData :Object [read-only]

RoomInfo.onlineUsers

public
onlineUsers :int [read-only]

How many users are online in this room.

RoomInfo.roomType

public
roomType :String [read-only]

The room type.

RoomInfo.serverType

public
serverType :String [read-only]

The server type.

RoomInfo.toString

public
toString ():String

Returns a formatted overview of the room.