C# 클래스 Ru.GameSchool.BusinessLayer.Services.GameService

상속: BaseService, IExternalPointContainer
파일 보기 프로젝트 열기: davidein/Ru.GameSchool 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
GetPointsByAndNotUserInfoIdCourseId ( int courseId ) : IEnumerable

메소드 상세

AddPointsToLevel() 공개 메소드

Add x point to user on the level specified
public AddPointsToLevel ( int userInfoId, int levelId, int points, string description ) : void
userInfoId int
levelId int
points int
description string
리턴 void

CalculatePointsByGrade() 공개 메소드

Handles point calculations based on grade.
public CalculatePointsByGrade ( double grade, int pointPerGrade ) : int
grade double
pointPerGrade int
리턴 int

GetPoints() 공개 메소드

Gets all userinfos instance
public GetPoints ( int userInfoId, int levelId ) : int
userInfoId int
levelId int
리턴 int

GetPointsByUserInfoIdAndCourseId() 공개 메소드

Get point from user and course id
public GetPointsByUserInfoIdAndCourseId ( int userInfoId, int courseId ) : int
userInfoId int
courseId int
리턴 int

GetPointsComparedToUsers() 공개 메소드

Gets points compaired to other users
public GetPointsComparedToUsers ( int userInfoId, int courseId ) : void
userInfoId int
courseId int
리턴 void

GetScoreComparedToUsers() 공개 메소드

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
public GetScoreComparedToUsers ( int userInfoId, int courseId ) : Tuple
userInfoId int
courseId int
리턴 Tuple

GetTopPoints() 공개 메소드

get the highest number of points in course
public GetTopPoints ( int courseId ) : int
courseId int
리턴 int

GetTopTenList() 공개 메소드

Returns the points of the top 10 users in the game
public GetTopTenList ( ) : UserInfo>>.IEnumerable
리턴 UserInfo>>.IEnumerable

GetTopTenList() 공개 메소드

Returns a list of the top ranking users for the course.
public GetTopTenList ( int courseId ) : IEnumerable
courseId int
리턴 IEnumerable