C# Класс ActivEarth.Objects.Competition.Challenges.Challenge

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Challenge ( ) : System

Parameterless constructor for reconstituting challenges from the DB.

Challenge ( string name, string description, int reward, bool persistent, System.DateTime startTime, int durationInDays, Statistic statistic, float requirement ) : System

Creates a new Challenge.

Описание методов

Challenge() публичный Метод

Parameterless constructor for reconstituting challenges from the DB.
public Challenge ( ) : System
Результат System

Challenge() публичный Метод

Creates a new Challenge.
public Challenge ( string name, string description, int reward, bool persistent, System.DateTime startTime, int durationInDays, Statistic statistic, float requirement ) : System
name string Challenge Name.
description string Challenge Description.
reward int Points to be awarded upon completion of the Challenge.
persistent bool True if the Challenge is persistent, false otherwise.
startTime System.DateTime Time at which the challenge begins.
durationInDays int Number of days for which the challenge is active.
statistic Statistic Statistic to which the Challenge is bound.
requirement float Statistic value required to complete the challenge.
Результат System