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


GKTurnBasedMatch.SendExchange Метод

Определение

Отправляет запросы на обмен игрокам, перечисленным в participants.

[Foundation.Export("sendExchangeToParticipants:data:localizableMessageKey:arguments:timeout:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SendExchange (GameKit.GKTurnBasedParticipant[] participants, Foundation.NSData data, string localizableMessage, Foundation.NSObject[] arguments, double timeout, Action<GameKit.GKTurnBasedExchange,Foundation.NSError> completionHandler);
abstract member SendExchange : GameKit.GKTurnBasedParticipant[] * Foundation.NSData * string * Foundation.NSObject[] * double * Action<GameKit.GKTurnBasedExchange, Foundation.NSError> -> unit
override this.SendExchange : GameKit.GKTurnBasedParticipant[] * Foundation.NSData * string * Foundation.NSObject[] * double * Action<GameKit.GKTurnBasedExchange, Foundation.NSError> -> unit

Параметры

participants
GKTurnBasedParticipant[]
data
NSData
localizableMessage
String
arguments
NSObject[]
timeout
Double
completionHandler
Action<GKTurnBasedExchange,NSError>

Будет добавлено.

Этот параметр может иметь значение null.

Атрибуты

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