LeaderboardSortItemsBJ
- Parameters
-
lb leaderboard
sortType integer
ascending boolean
- comment
- patch
1.00
- Source
- Blizzard.j
- return type
nothing
- Source code
function LeaderboardSortItemsBJ takes leaderboard lb, integer sortType, boolean ascending returns nothing if (sortType == bj_SORTTYPE_SORTBYVALUE) then call LeaderboardSortItemsByValue(lb, ascending) elseif (sortType == bj_SORTTYPE_SORTBYPLAYER) then call LeaderboardSortItemsByPlayer(lb, ascending) elseif (sortType == bj_SORTTYPE_SORTBYLABEL) then call LeaderboardSortItemsByLabel(lb, ascending) else // Unrecognized sort type - ignore the request. endif endfunction