GKTurnBasedEventListener.WantsToQuitMatch(GKPlayer, GKTurnBasedMatch) 方法

定义

在 之后 player 调用的方法指示他们希望退出匹配。

[Foundation.Export("player:wantsToQuitMatch:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void WantsToQuitMatch (GameKit.GKPlayer player, GameKit.GKTurnBasedMatch match);
abstract member WantsToQuitMatch : GameKit.GKPlayer * GameKit.GKTurnBasedMatch -> unit
override this.WantsToQuitMatch : GameKit.GKPlayer * GameKit.GKTurnBasedMatch -> unit

参数

player
GKPlayer
属性

适用于