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


GKLocalPlayerListener.DidAcceptInvite(GKPlayer, GKInvite) Метод

Определение

Метод, вызываемый, когда указанный player принимает предоставленное приглашение на соответствие.

[Foundation.Export("player:didAcceptInvite:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, 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.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidAcceptInvite (GameKit.GKPlayer player, GameKit.GKInvite invite);
abstract member DidAcceptInvite : GameKit.GKPlayer * GameKit.GKInvite -> unit
override this.DidAcceptInvite : GameKit.GKPlayer * GameKit.GKInvite -> unit

Параметры

player
GKPlayer
invite
GKInvite
Атрибуты

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