共用方式為


GKMatchmakerViewControllerDelegate.ReceivedAcceptFromHostedPlayer 方法

定義

[Foundation.Export("matchmakerViewController:didReceiveAcceptFromHostedPlayer:")]
[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 virtual void ReceivedAcceptFromHostedPlayer (GameKit.GKMatchmakerViewController viewController, string playerID);
abstract member ReceivedAcceptFromHostedPlayer : GameKit.GKMatchmakerViewController * string -> unit
override this.ReceivedAcceptFromHostedPlayer : GameKit.GKMatchmakerViewController * string -> unit

參數

playerID
String
屬性

適用於