C# 클래스 ActivEarth.DAO.BadgeLevelInfoDAO

파일 보기 프로젝트 열기: mlcamilli/ActivEarth

공개 메소드들

메소드 설명
GetBadgeImagePath ( Statistic stat, int badgeLevel ) : string

Retrieves the image path for a particular badge.

GetBadgeRequirement ( Statistic stat, int badgeLevel ) : float

Retrieves the statistic requirement for a particular badge.

GetBadgeRequirementArray ( Statistic stat ) : float[]

Retrieves the statistic requirements for all levels of a particular badge.

GetBadgeReward ( Statistic stat, int badgeLevel ) : float

Retrieves the reward for a particular badge.

GetBadgeRewardArray ( Statistic stat ) : int[]

Retrieves the Activity Score rewards for all levels of a particular badge.

메소드 상세

GetBadgeImagePath() 공개 정적인 메소드

Retrieves the image path for a particular badge.
public static GetBadgeImagePath ( Statistic stat, int badgeLevel ) : string
stat Statistic Statistic for which the badge is awarded.
badgeLevel int Desired level of the badge.
리턴 string

GetBadgeRequirement() 공개 정적인 메소드

Retrieves the statistic requirement for a particular badge.
public static GetBadgeRequirement ( Statistic stat, int badgeLevel ) : float
stat Statistic Statistic for which the badge is awarded.
badgeLevel int Desired level of the badge.
리턴 float

GetBadgeRequirementArray() 공개 정적인 메소드

Retrieves the statistic requirements for all levels of a particular badge.
public static GetBadgeRequirementArray ( Statistic stat ) : float[]
stat Statistic Statistic for which the badge is awarded.
리턴 float[]

GetBadgeReward() 공개 정적인 메소드

Retrieves the reward for a particular badge.
public static GetBadgeReward ( Statistic stat, int badgeLevel ) : float
stat Statistic Statistic for which the badge is awarded.
badgeLevel int Desired level of the badge.
리턴 float

GetBadgeRewardArray() 공개 정적인 메소드

Retrieves the Activity Score rewards for all levels of a particular badge.
public static GetBadgeRewardArray ( Statistic stat ) : int[]
stat Statistic Statistic for which the badge is awarded.
리턴 int[]