共用方式為


GKMatchmaker.FindPlayers(GKMatchRequest, GKFriendsHandler) 方法

定義

[Foundation.Export("findPlayersForHostedMatchRequest:withCompletionHandler:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'FindPlayersForHostedRequest' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use 'FindPlayersForHostedRequest' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void FindPlayers (GameKit.GKMatchRequest request, GameKit.GKFriendsHandler playerHandler);
abstract member FindPlayers : GameKit.GKMatchRequest * GameKit.GKFriendsHandler -> unit
override this.FindPlayers : GameKit.GKMatchRequest * GameKit.GKFriendsHandler -> unit

參數

request
GKMatchRequest
playerHandler
GKFriendsHandler

即將加入。

這個參數可以是 null

屬性

適用於