편집

다음을 통해 공유


GKTurnBasedMatch.EndTurn Method

Definition

Ends the turn and passes an error object that is null if no error occurred to completionHandler.

[Foundation.Export("endTurnWithNextParticipants:turnTimeout:matchData:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void EndTurn (GameKit.GKTurnBasedParticipant[] nextParticipants, double timeoutSeconds, Foundation.NSData matchData, Action<Foundation.NSError> completionHandler);
abstract member EndTurn : GameKit.GKTurnBasedParticipant[] * double * Foundation.NSData * Action<Foundation.NSError> -> unit
override this.EndTurn : GameKit.GKTurnBasedParticipant[] * double * Foundation.NSData * Action<Foundation.NSError> -> unit

Parameters

nextParticipants
GKTurnBasedParticipant[]
timeoutSeconds
Double
matchData
NSData
completionHandler
Action<NSError>

To be added.

This parameter can be null.

Attributes

Applies to