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


GKLocalPlayerListener.DidRequestMatch Метод

Определение

Перегрузки

DidRequestMatch(GKPlayer, GKPlayer[])

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

DidRequestMatch(GKPlayer, String[])

Разработчики не должны использовать этот нерекомендуемый метод. Разработчикам следует использовать DidRequestMatch (проигрыватель GKPlayer, GKPlayer[] recipientPlayers)".

DidRequestMatch(GKPlayer, GKPlayer[])

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

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

Параметры

player
GKPlayer
recipientPlayers
GKPlayer[]
Атрибуты

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

DidRequestMatch(GKPlayer, String[])

Разработчики не должны использовать этот нерекомендуемый метод. Разработчикам следует использовать DidRequestMatch (проигрыватель GKPlayer, GKPlayer[] recipientPlayers)".

[Foundation.Export("player:didRequestMatchWithPlayers:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'DidRequestMatch (GKPlayer player, GKPlayer[] recipientPlayers)' instead.")]
[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.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidRequestMatch (GameKit.GKPlayer player, string[] playerIDs);
abstract member DidRequestMatch : GameKit.GKPlayer * string[] -> unit
override this.DidRequestMatch : GameKit.GKPlayer * string[] -> unit

Параметры

player
GKPlayer
playerIDs
String[]
Атрибуты

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