Skip to main content
Member of ML.SDK.CloudVariables
Method | Static

MLScoreBoardRequest CloudVariables.GetScoreBoard(string variableName, bool descending = true, int skip = 0, int limit = int.MaxValue)

static MLScoreBoardRequest CloudVariables.GetScoreBoard(string variableName, bool descending = true, int skip = 0, int limit = int.MaxValue);

Parameters

ParameterTypeDescription
variableNamestringName of the variable to retrieve the scoreboard.
descendingboolGet the scoreboard with higher values first.
skipintNumber of scores to skip at the beginning before returning the scoreboard.
limitintLimit how many scores to be returned.

Returns

MLScoreBoardRequest

A yield-able request.

Summary

Get score board associated with a variable name. The score board is generated based on previously assigned variables to users.A user with an assigned variable matching the name provided included in the score board if the variable type is number.You can specify where and how much of scoreboard to retrieve by assigning skip and limit parameters.