Share via


GKGameActivity.SetScore Method

Definition

Overloads

SetScore(GKLeaderboard, IntPtr)

[Foundation.Export("setScoreOnLeaderboard:toScore:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetScore(GameKit.GKLeaderboard leaderboard, IntPtr score);
[<Foundation.Export("setScoreOnLeaderboard:toScore:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetScore : GameKit.GKLeaderboard * nativeint -> unit
override this.SetScore : GameKit.GKLeaderboard * nativeint -> unit

Parameters

leaderboard
GKLeaderboard
score
IntPtr

nativeint

Attributes

Applies to

SetScore(GKLeaderboard, IntPtr, UIntPtr)

[Foundation.Export("setScoreOnLeaderboard:toScore:context:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetScore(GameKit.GKLeaderboard leaderboard, IntPtr score, UIntPtr context);
[<Foundation.Export("setScoreOnLeaderboard:toScore:context:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetScore : GameKit.GKLeaderboard * nativeint * unativeint -> unit
override this.SetScore : GameKit.GKLeaderboard * nativeint * unativeint -> unit

Parameters

leaderboard
GKLeaderboard
score
IntPtr

nativeint

context
UIntPtr

unativeint

Attributes

Applies to