|
string | GetStat (string name) |
| Find the first stat in the stats array that matches the given name argument. More...
|
|
double | GetDoubleStat (string name, double fallback=0) |
| Find the first stat in the stats array that matches the given name argument, and parses the string value as a double. More...
|
|
|
long | gt |
| The gamertag of the player for this entry
|
|
long | rank |
| The rank in the leaderboard for this entry
|
|
double | score |
| The score on the leaderboard for this entry
|
|
RankEntryStat[] | stats |
| A set of RankEntryStat values associated with this entry
|
|
RankEntryColumns | columns |
| This field will be removed in the future, please do not use.
|
|
◆ GetDoubleStat()
double Beamable.Common.Api.Leaderboards.RankEntry.GetDoubleStat |
( |
string |
name, |
|
|
double |
fallback = 0 |
|
) |
| |
|
inline |
Find the first stat in the stats array that matches the given name argument, and parses the string value as a double.
- Parameters
-
name | The name of a stat |
fallback | If the stat does not exist, or the value is not a parsable double, this value will be returned. |
- Returns
- The parsed value of the stat. If the stat was not found, or it had a non parsable value, the fallback value will be returned.
◆ GetStat()
string Beamable.Common.Api.Leaderboards.RankEntry.GetStat |
( |
string |
name | ) |
|
|
inline |
Find the first stat in the stats array that matches the given name argument.
- Parameters
-
- Returns
- The string value of the found stat, or null if the stat was not found.
The documentation for this class was generated from the following file:
- com.beamable/Common/Runtime/Api/Leaderboards/ILeaderboardApi.cs