Метод | Описание | |
---|---|---|
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. |
Результат |
public GetUserStatistic ( int id ) : |
||
id | int | The ID of the UserStatistic to get. |
Результат |
public SetUserStatistic ( Statistic statToSet, float val ) : void | ||
statToSet | Statistic | |
val | float | |
Результат | 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. |
Результат | void |
public StatisticManager ( |
||
user | ||
Результат | System |