共用方式為


GKMatchmakerViewControllerDelegate_Extensions.HostedPlayerDidAccept 方法

定義

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public static void HostedPlayerDidAccept (this GameKit.IGKMatchmakerViewControllerDelegate This, GameKit.GKMatchmakerViewController viewController, GameKit.GKPlayer playerID);
static member HostedPlayerDidAccept : GameKit.IGKMatchmakerViewControllerDelegate * GameKit.GKMatchmakerViewController * GameKit.GKPlayer -> unit

參數

This
IGKMatchmakerViewControllerDelegate

這個擴充方法運作所在的實例。

playerID
GKPlayer
屬性

適用於