Bagikan melalui


GKLocalPlayerListener.WantsToQuitMatch(GKPlayer, GKTurnBasedMatch) Metode

Definisi

Metode yang dipanggil ketika pemain ingin berhenti.

[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)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, 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

Parameter

player
GKPlayer
Atribut

Berlaku untuk