共用方式為


GKMatchmakerViewControllerDelegate_Extensions.ReceivedAcceptFromHostedPlayer 方法

定義

開發人員不應該使用此已被取代的方法。 開發人員應該改用 'HostedPlayerDidAccept'。

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'HostedPlayerDidAccept' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use 'HostedPlayerDidAccept' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static void ReceivedAcceptFromHostedPlayer (this GameKit.IGKMatchmakerViewControllerDelegate This, GameKit.GKMatchmakerViewController viewController, string playerID);
static member ReceivedAcceptFromHostedPlayer : GameKit.IGKMatchmakerViewControllerDelegate * GameKit.GKMatchmakerViewController * string -> unit

參數

This
IGKMatchmakerViewControllerDelegate

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

playerID
String
屬性

適用於