GKLocalPlayerListener.DidRequestMatchWithOtherPlayers 方法

定义

邀请一组 playersToInvite 进行匹配时player调用的方法。

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

参数

player
GKPlayer
playersToInvite
GKPlayer[]
属性

适用于