Enables scripted content fragments to use LeaderboardUrls
Methods
Home
Home Overload 1
Velocity
#set($stringResponse = $core_v2_leaderboardUrls.Home())
JavaScript
var stringResponse = core_v2_leaderboardUrls.Home();
Home Overload 2
Velocity
#set($stringResponse = $core_v2_leaderboardUrls.Home($groupId))
JavaScript
var stringResponse = core_v2_leaderboardUrls.Home(groupId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
groupId | Int32 | Group Id | Required |
Returns
String
Leaderboard
Velocity
#set($stringResponse = $core_v2_leaderboardUrls.Leaderboard($leaderboardId))
JavaScript
var stringResponse = core_v2_leaderboardUrls.Leaderboard(leaderboardId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
leaderboardId | Int32 | Leaderboard Id | Required |
Returns
String