共用方式為


GKMatchmaker.FindPlayersForHostedRequest 方法

定義

尋找託管比對要求的玩家。

[Foundation.Export("findPlayersForHostedRequest:withCompletionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void FindPlayersForHostedRequest (GameKit.GKMatchRequest request, Action<GameKit.GKPlayer[],Foundation.NSError> completionHandler);
abstract member FindPlayersForHostedRequest : GameKit.GKMatchRequest * Action<GameKit.GKPlayer[], Foundation.NSError> -> unit
override this.FindPlayersForHostedRequest : GameKit.GKMatchRequest * Action<GameKit.GKPlayer[], Foundation.NSError> -> unit

參數

request
GKMatchRequest
completionHandler
Action<GKPlayer[],NSError>

即將加入。

這個參數可以是 null

屬性

適用於