共用方式為


GKGameSession.CreateSession 方法

定義

[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

參數

containerName
String

即將加入。

這個參數可以是 null

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

適用於