PlayerIO

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

HTML5 (Javascript) Client Reference

javascript (html5) gameRequest class informationClass gameRequest

Language: Javascript (HTML5)

This class encapsulates all the data of a received game request.

Properties

 
created :Date

When this request was created.

data :object

The custom data that was passed in when this request was created

id :string

The id of this request.

senderUserId :string

The sender user id of this request.

type :string

The type of this request.

gameRequest.created

created :Date

When this request was created.

gameRequest.data

data :object

The custom data that was passed in when this request was created

gameRequest.id

id :string

The id of this request.

gameRequest.senderUserId

senderUserId :string

The sender user id of this request.

gameRequest.type

type :string

The type of this request.