@mica/sdk (SDK contract v1)
Preparing search index...
index
useHighscores
Function useHighscores
useHighscores
()
:
{
getLeaderboard
:
(
app
:
string
)
=>
Promise
<
LeaderboardEntry
[]
>
;
submitScore
:
(
app
:
string
,
score
:
number
)
=>
Promise
<
void
>
;
}
OS Service Hook for the shared, cross-game leaderboard table.
Returns
{
getLeaderboard
:
(
app
:
string
)
=>
Promise
<
LeaderboardEntry
[]
>
;
submitScore
:
(
app
:
string
,
score
:
number
)
=>
Promise
<
void
>
;
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@mica/sdk (SDK contract v1)
Loading...
OS Service Hook for the shared, cross-game leaderboard table.