| BrainCloudServiceClientAsyncMatch_CreateMatchWithInitialTurn Method |
[This is preliminary documentation and is subject to change.]
Creates an instance of an asynchronous match with an initial turn.
Namespace:
Ruyi.SDK.BrainCloudApi
Assembly:
ServiceGenerated (in ServiceGenerated.dll) Version: 0.9.3.3995 (0.9.3.3995)
Syntax public string AsyncMatch_CreateMatchWithInitialTurn(
string jsonOpponentIds,
string jsonMatchState,
string pushNotificationMessage,
string nextPlayer,
string jsonSummary,
int clientIndex
)
Parameters
- jsonOpponentIds
- Type: SystemString
JSON string identifying the opponent platform and id for this match.
Platforms are identified as:
BC - a brainCloud profile id
FB - a Facebook id
An exmaple of this string would be:
[
{
"platform": "BC",
"id": "some-braincloud-profile"
},
{
"platform": "FB",
"id": "some-facebook-id"
}
] - jsonMatchState
- Type: SystemString
JSON string blob provided by the caller - pushNotificationMessage
- Type: SystemString
Optional push notification message to send to the other party.
Refer to the Push Notification functions for the syntax required. - nextPlayer
- Type: SystemString
Optionally, force the next player player to be a specific player - jsonSummary
- Type: SystemString
Optional JSON string defining what the other player will see as a summary of the game when listing their games - clientIndex
- Type: SystemInt32
@BrainCloud_clientIndex_desc
Return Value
Type:
String[Missing <returns> documentation for "M:Ruyi.SDK.BrainCloudApi.BrainCloudService.Client.AsyncMatch_CreateMatchWithInitialTurn(System.String,System.String,System.String,System.String,System.String,System.Int32)"]
See Also