GKTurnBasedMatch.EndMatchInTurn 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
EndMatchInTurn(NSData, GKScore[], GKAchievement[], Action<NSError>) |
以指定的結束狀態、分數和成就結束比對,並傳遞錯誤物件, |
EndMatchInTurn(NSData, Action<NSError>) |
以結束狀態 |
EndMatchInTurn(NSData, GKScore[], GKAchievement[], Action<NSError>)
以指定的結束狀態、分數和成就結束比對,並傳遞錯誤物件, null
如果發生 completionHandler
任何錯誤,則為 。
[Foundation.Export("endMatchInTurnWithMatchData:scores:achievements: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 EndMatchInTurn (Foundation.NSData matchData, GameKit.GKScore[] scores, GameKit.GKAchievement[] achievements, Action<Foundation.NSError> completionHandler);
abstract member EndMatchInTurn : Foundation.NSData * GameKit.GKScore[] * GameKit.GKAchievement[] * Action<Foundation.NSError> -> unit
override this.EndMatchInTurn : Foundation.NSData * GameKit.GKScore[] * GameKit.GKAchievement[] * Action<Foundation.NSError> -> unit
參數
- matchData
- NSData
- 屬性
適用於
EndMatchInTurn(NSData, Action<NSError>)
以結束狀態 matchData
結束比對,並傳遞錯誤物件, null
如果發生任何錯誤, completionHandler
則為 。
[Foundation.Export("endMatchInTurnWithMatchData:completionHandler:")]
public virtual void EndMatchInTurn (Foundation.NSData matchData, Action<Foundation.NSError> onCompletion);
abstract member EndMatchInTurn : Foundation.NSData * Action<Foundation.NSError> -> unit
override this.EndMatchInTurn : Foundation.NSData * Action<Foundation.NSError> -> unit
參數
- matchData
- NSData
- 屬性