Свойство | Тип | Описание | |
---|---|---|---|
StrId | string | ||
Type | int |
Метод | Описание | |
---|---|---|
Award ( string AwardId, string StrId, string Type, Condition Condition ) : System |
Class Constructor. Constructs a new award
|
|
Exists ( string AwardId ) : bool |
Returns whether a specified award ID exists
|
|
GetBadgeLevel ( string BadgeId ) : BadgeLevel |
Returns the badge level
|
|
GetCondition ( ) : Condition |
Returns the awards conditions
|
|
GetName ( string AwardId ) : string |
Returns the full string name of an award
|
|
GetType ( string AwardId ) : AwardType |
Returns the Award type of an award.
|
|
IsSfAward ( string AwardId ) : bool |
Indicates whether the award is a special forces award
|
|
RestoreDefaultConditions ( ) : void |
Restores the condition of this award to the default (vanilla) state
|
|
SetCondition ( Condition C ) : void |
Sets the Condition, or Condition list to earn the award
|
|
ToPython ( ) : string |
Converts the medal data, and its conditions to python
|
|
ToString ( ) : string |
Returns the name of the award
|
|
ToTree ( ) : |
Converts the medal's conditions to a TreeView
|
|
UndoConditionChanges ( ) : void |
Restores any changes made to the conditions of this award
|
public Award ( string AwardId, string StrId, string Type, Condition Condition ) : System | ||
AwardId | string | The award id as a string |
StrId | string | The short name of the award |
Type | string | The award earn type. 0 = Purple heart, 1 = Earned only once per player, 2 = Earnable multiple times |
Condition | Condition | The condition to earn this award |
Результат | System |
public static Exists ( string AwardId ) : bool | ||
AwardId | string | The Award ID |
Результат | bool |
public static GetBadgeLevel ( string BadgeId ) : BadgeLevel | ||
BadgeId | string | The award ID |
Результат | BadgeLevel |
public static GetName ( string AwardId ) : string | ||
AwardId | string | The award ID |
Результат | string |
public static GetType ( string AwardId ) : AwardType | ||
AwardId | string | The award ID |
Результат | AwardType |
public static IsSfAward ( string AwardId ) : bool | ||
AwardId | string | |
Результат | bool |
public RestoreDefaultConditions ( ) : void | ||
Результат | void |
public SetCondition ( Condition C ) : void | ||
C | Condition | The condition or condition list |
Результат | void |