Method | Description | |
---|---|---|
AddPointsToLevel ( int userInfoId, int levelId, int points, string description ) : void |
Add x point to user on the level specified
|
|
CalculatePointsByGrade ( double grade, int pointPerGrade ) : int |
Handles point calculations based on grade.
|
|
GetPoints ( int userInfoId, int levelId ) : int |
Gets all userinfos instance
|
|
GetPointsByUserInfoIdAndCourseId ( int userInfoId, int courseId ) : int |
Get point from user and course id
|
|
GetPointsComparedToUsers ( int userInfoId, int courseId ) : void |
Gets points compaired to other users
|
|
GetScoreComparedToUsers ( int userInfoId, int courseId ) : Tuple |
Fall sem skilar tuple af þínum stigum, þínu sæti, hvað þú þarft mörg stig til að komast sæti ofar og hvað keppandinn á eftir þér þarf mörg stig til að koamst yfir þig
|
|
GetTopPoints ( int courseId ) : int |
get the highest number of points in course
|
|
GetTopTenList ( ) : UserInfo>>.IEnumerable |
Returns the points of the top 10 users in the game
|
|
GetTopTenList ( int courseId ) : IEnumerable |
Returns a list of the top ranking users for the course.
|
Method | Description | |
---|---|---|
GetPointsByAndNotUserInfoIdCourseId ( int courseId ) : IEnumerable |
public AddPointsToLevel ( int userInfoId, int levelId, int points, string description ) : void | ||
userInfoId | int | |
levelId | int | |
points | int | |
description | string | |
return | void |
public CalculatePointsByGrade ( double grade, int pointPerGrade ) : int | ||
grade | double | |
pointPerGrade | int | |
return | int |
public GetPoints ( int userInfoId, int levelId ) : int | ||
userInfoId | int | |
levelId | int | |
return | int |
public GetPointsByUserInfoIdAndCourseId ( int userInfoId, int courseId ) : int | ||
userInfoId | int | |
courseId | int | |
return | int |
public GetPointsComparedToUsers ( int userInfoId, int courseId ) : void | ||
userInfoId | int | |
courseId | int | |
return | void |
public GetScoreComparedToUsers ( int userInfoId, int courseId ) : Tuple |
||
userInfoId | int | |
courseId | int | |
return | Tuple |
public GetTopTenList ( ) : UserInfo>>.IEnumerable |
||
return | UserInfo>>.IEnumerable |
public GetTopTenList ( int courseId ) : IEnumerable |
||
courseId | int | |
return | IEnumerable |