Méthode | Description | |
---|---|---|
GetUserStatistic ( Statistic statToGet ) : |
Gets a statistic for a user based on the statistic type.
|
|
GetUserStatistic ( int id ) : |
Returns a User's Statistic based on its ID.
|
|
SetUserStatistic ( Statistic statToSet, float val ) : void | ||
SetUserStatistic ( int userId, Statistic statistic, float value ) : void |
Sets the value of a statistic for a specific user.
|
|
StatisticManager ( |
||
UpdateUserStatistics ( ) : void |
public GetUserStatistic ( Statistic statToGet ) : |
||
statToGet | Statistic | Statistic to retrieve. |
Résultat |
public GetUserStatistic ( int id ) : |
||
id | int | The ID of the UserStatistic to get. |
Résultat |
public SetUserStatistic ( Statistic statToSet, float val ) : void | ||
statToSet | Statistic | |
val | float | |
Résultat | void |
public static SetUserStatistic ( int userId, Statistic statistic, float value ) : void | ||
userId | int | ID of the user to update. |
statistic | Statistic | Statistic to be updated. |
value | float | New value for the statistic. |
Résultat | void |
public StatisticManager ( |
||
user | ||
Résultat | System |