Поделиться через


GKLocalPlayerListener.WantsToQuitMatch(GKPlayer, GKTurnBasedMatch) Метод

Определение

Метод, вызываемый, когда игрок хочет завершить работу.

[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

Параметры

player
GKPlayer
Атрибуты

Применяется к