Düzenle

Aracılığıyla paylaş


GKScore.ReportScoresAsync Method

Definition

Overloads

ReportScoresAsync(GKScore[])

Reports the provided scores to the Game Center.

ReportScoresAsync(GKScore[], GKChallenge[])

Asynchronously reports the provided scores to the Game Center

ReportScoresAsync(GKScore[])

Reports the provided scores to the Game Center.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static System.Threading.Tasks.Task ReportScoresAsync (GameKit.GKScore[] scores);
static member ReportScoresAsync : GameKit.GKScore[] -> System.Threading.Tasks.Task

Parameters

scores
GKScore[]

Scores to report back to Game Center.

Returns

A task that represents the asynchronous ReportScores operation

Attributes

Applies to

ReportScoresAsync(GKScore[], GKChallenge[])

Asynchronously reports the provided scores to the Game Center

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static System.Threading.Tasks.Task ReportScoresAsync (GameKit.GKScore[] scores, GameKit.GKChallenge[] challenges);
static member ReportScoresAsync : GameKit.GKScore[] * GameKit.GKChallenge[] -> System.Threading.Tasks.Task

Parameters

scores
GKScore[]
challenges
GKChallenge[]

Returns

Attributes

Applies to