C# 클래스 ActivEarth.Objects.Competition.Challenges.Challenge

파일 보기 프로젝트 열기: mlcamilli/ActivEarth 1 사용 예제들

공개 메소드들

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