Edytuj

Udostępnij za pośrednictwem


GKTurnBasedMatch.ParticipantQuitInTurn Method

Definition

Overloads

ParticipantQuitInTurn(GKTurnBasedMatchOutcome, GKTurnBasedParticipant, NSData, Action<NSError>)

Deprecated.

ParticipantQuitInTurn(GKTurnBasedMatchOutcome, GKTurnBasedParticipant[], Double, NSData, Action<NSError>)

Resigns the current player from the match and runs completionHandler.

ParticipantQuitInTurn(GKTurnBasedMatchOutcome, GKTurnBasedParticipant, NSData, Action<NSError>)

Deprecated.

[Foundation.Export("participantQuitInTurnWithOutcome:nextParticipant:matchData:completionHandler:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'ParticipantQuitInTurn (GKTurnBasedMatchOutcome, GKTurnBasedParticipant[], double, NSData, Action<NSError>)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.None, "Use 'ParticipantQuitInTurn (GKTurnBasedMatchOutcome, GKTurnBasedParticipant[], double, NSData, Action<NSError>)' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void ParticipantQuitInTurn (GameKit.GKTurnBasedMatchOutcome matchOutcome, GameKit.GKTurnBasedParticipant nextParticipant, Foundation.NSData matchData, Action<Foundation.NSError> onCompletion);
abstract member ParticipantQuitInTurn : GameKit.GKTurnBasedMatchOutcome * GameKit.GKTurnBasedParticipant * Foundation.NSData * Action<Foundation.NSError> -> unit
override this.ParticipantQuitInTurn : GameKit.GKTurnBasedMatchOutcome * GameKit.GKTurnBasedParticipant * Foundation.NSData * Action<Foundation.NSError> -> unit

Parameters

nextParticipant
GKTurnBasedParticipant
matchData
NSData
onCompletion
Action<NSError>

To be added.

This parameter can be null.

Attributes

Applies to

ParticipantQuitInTurn(GKTurnBasedMatchOutcome, GKTurnBasedParticipant[], Double, NSData, Action<NSError>)

Resigns the current player from the match and runs completionHandler.

[Foundation.Export("participantQuitInTurnWithOutcome:nextParticipants: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 ParticipantQuitInTurn (GameKit.GKTurnBasedMatchOutcome matchOutcome, GameKit.GKTurnBasedParticipant[] nextParticipants, double timeoutSeconds, Foundation.NSData matchData, Action<Foundation.NSError> completionHandler);
abstract member ParticipantQuitInTurn : GameKit.GKTurnBasedMatchOutcome * GameKit.GKTurnBasedParticipant[] * double * Foundation.NSData * Action<Foundation.NSError> -> unit
override this.ParticipantQuitInTurn : GameKit.GKTurnBasedMatchOutcome * 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