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


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.

Атрибуты

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