Share via


GKTurnBasedMatch.ParticipantQuitOutOfTurn 方法

定义

从比赛中退出玩家,然后运行 onCompletion

[Foundation.Export("participantQuitOutOfTurnWithOutcome:withCompletionHandler:")]
public virtual void ParticipantQuitOutOfTurn (GameKit.GKTurnBasedMatchOutcome matchOutcome, Action<Foundation.NSError> onCompletion);
abstract member ParticipantQuitOutOfTurn : GameKit.GKTurnBasedMatchOutcome * Action<Foundation.NSError> -> unit
override this.ParticipantQuitOutOfTurn : GameKit.GKTurnBasedMatchOutcome * Action<Foundation.NSError> -> unit

参数

onCompletion
Action<NSError>

内容待定。

此参数可以为 null

属性

适用于