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>
属性

适用于