google_api_games v0.5.0 GoogleApi.Games.V1.Model.RoomCreateRequest View Source
This is a JSON template for a room creation request.
Attributes
autoMatchingCriteria(type:GoogleApi.Games.V1.Model.RoomAutoMatchingCriteria.t, default:nil) - Criteria for auto-matching players into this room.capabilities(type:list(String.t), default:nil) - The capabilities that this client supports for realtime communication.clientAddress(type:GoogleApi.Games.V1.Model.RoomClientAddress.t, default:nil) - Client address for the player creating the room.invitedPlayerIds(type:list(String.t), default:nil) - The player IDs to invite to the room.kind(type:String.t, default:games#roomCreateRequest) - Uniquely identifies the type of this resource. Value is always the fixed string games#roomCreateRequest.networkDiagnostics(type:GoogleApi.Games.V1.Model.NetworkDiagnostics.t, default:nil) - Network diagnostics for the client creating the room.requestId(type:String.t, default:nil) - A randomly generated numeric ID. This number is used at the server to ensure that the request is handled correctly across retries.variant(type:integer(), default:nil) - The variant / mode of the application to be played. This can be any integer value, or left blank. You should use a small number of variants to keep the auto-matching pool as large as possible.
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 Sourcet() :: %GoogleApi.Games.V1.Model.RoomCreateRequest{
autoMatchingCriteria: GoogleApi.Games.V1.Model.RoomAutoMatchingCriteria.t(),
capabilities: [String.t()],
clientAddress: GoogleApi.Games.V1.Model.RoomClientAddress.t(),
invitedPlayerIds: [String.t()],
kind: String.t(),
networkDiagnostics: GoogleApi.Games.V1.Model.NetworkDiagnostics.t(),
requestId: String.t(),
variant: integer()
}
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.