google_api_games v0.3.1 GoogleApi.Games.V1.Model.RoomLeaveRequest View Source
This is a JSON template for a leave room request.
Attributes
- kind (String.t): Uniquely identifies the type of this resource. Value is always the fixed string games#roomLeaveRequest. Defaults to:
null. - leaveDiagnostics (RoomLeaveDiagnostics): Diagnostics for a player leaving the room. Defaults to:
null. - reason (String.t): Reason for leaving the match. Possible values are: - "PLAYER_LEFT" - The player chose to leave the room.. - "GAME_LEFT" - The game chose to remove the player from the room. - "REALTIME_ABANDONED" - The player switched to another application and abandoned the room. - "REALTIME_PEER_CONNECTION_FAILURE" - The client was unable to establish a connection to other peer(s). - "REALTIME_SERVER_CONNECTION_FAILURE" - The client was unable to communicate with the server. - "REALTIME_SERVER_ERROR" - The client received an error response when it tried to communicate with the server. - "REALTIME_TIMEOUT" - The client timed out while waiting for a room. - "REALTIME_CLIENT_DISCONNECTING" - The client disconnects without first calling Leave. - "REALTIME_SIGN_OUT" - The user signed out of G+ while in the room. - "REALTIME_GAME_CRASHED" - The game crashed. - "REALTIME_ROOM_SERVICE_CRASHED" - RoomAndroidService crashed. - "REALTIME_DIFFERENT_CLIENT_ROOM_OPERATION" - Another client is trying to enter a room. - "REALTIME_SAME_CLIENT_ROOM_OPERATION" - The same client is trying to enter a new room. Defaults to:
null.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.Games.V1.Model.RoomLeaveRequest{
kind: any(),
leaveDiagnostics: GoogleApi.Games.V1.Model.RoomLeaveDiagnostics.t(),
reason: any()
}
t() :: %GoogleApi.Games.V1.Model.RoomLeaveRequest{
kind: any(),
leaveDiagnostics: GoogleApi.Games.V1.Model.RoomLeaveDiagnostics.t(),
reason: any()
}
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.