C# Class ActivEarth.DAO.BadgeLevelInfoDAO

Afficher le fichier Open project: mlcamilli/ActivEarth

Méthodes publiques

Méthode Description
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.

Method Details

GetBadgeImagePath() public static méthode

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.
Résultat string

GetBadgeRequirement() public static méthode

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.
Résultat float

GetBadgeRequirementArray() public static méthode

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.
Résultat float[]

GetBadgeReward() public static méthode

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.
Résultat float

GetBadgeRewardArray() public static méthode

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.
Résultat int[]