Condividi tramite


GKGameSession.CreateSession Metodo

Definizione

[Foundation.Export("createSessionInContainer:withTitle:maxConnectedPlayers:completionHandler:")]
public static void CreateSession (string containerName, string title, nint maxPlayers, Action<GameKit.GKGameSession,Foundation.NSError> completionHandler);
static member CreateSession : string * string * nint * Action<GameKit.GKGameSession, Foundation.NSError> -> unit

Parametri

containerName
String

Da aggiungere.

Questo parametro può essere null.

title
String
maxPlayers
System.System.IntPtr System.nativeint
completionHandler
Action<GKGameSession,NSError>
Attributi

Si applica a