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