Поделиться через


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>
Атрибуты

Применяется к