Constructor

GameManagerResult

new GameManagerResult()

Represents the status code and error details from processing a game manager request.

Properties

errorDescription

string

A user-readable string giving more details about the error, if the status code is not SUCCESS.

extraMessageData

Object

Extra message data populated by the event handlers. This field corresponds to the event's cast.receiver.games.Event.resultExtraMessageData field.

playerId

string

The player ID from processing the request. This might be not be set if the request did not involve a player ID (e.g. changing gamemplay state).

requestId

number

The request ID. This is 0 if the request was initiated by the receiver.

statusCode

cast.receiver.games.StatusCode

The status code when processing the request.