I am trying to use GetRivals to get the nearby players by the current Player. However, instead of returning the Player's immediately above the current one it is returning the top Player's, and then only 3 of them.
My code looks like this:
MogadeController.Mogade.GetRivals(MogadeController.HighscoreTable, LeaderboardScope.Overall, MogadeController.Username, SetRivals); //To get Rivals
and then:
public static void SetRivals(Response<IList<Score>> results) //To save rivals to a list
{
if (!results.Success)
rivalFailed = true;
else
{
rivalFailed = false;
foreach (Score score in results.Data)
{
rivalScores.Add(score);
}
}
}
What am I doing wrong to get this. Does GetRivals only return players from different devices? As I am using the Emulator for testing that would cause this to occur.
If you have any other suggestions that would be appreciated as I am at a complete loss.