共用方式為


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
屬性

適用於