C# Класс ActivEarth.DAO.BadgeLevelInfoDAO

Показать файл Открыть проект

Открытые методы

Метод Описание
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[]