Edytuj

Udostępnij za pośrednictwem


GKGameSession.CreateSession Method

Definition

[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

Parameters

containerName
String

To be added.

This parameter can be null.

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

Applies to