C# Class BF2Statistics.MedalData.Rank

Inheritance: IAward
Afficher le fichier Open project: BF2Statistics/ControlCenter Class Usage Examples

Méthodes publiques

Méthode Description
Exists ( int RankId ) : bool

Returns whether or not the Rank ID provided is a valid BF2 Rank index

GetCondition ( ) : Condition

Returns the awards conditions

GetName ( int RankId ) : string

Returns the Name of the Rank by Index

Rank ( int Id, Condition Conditions ) : System

Constructor

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 rank data into python code

ToString ( ) : string

Returns the name of the rank

ToTree ( ) : TreeNode

Converts the condition into a viewable TreeNode for the Criteria Editor

UndoConditionChanges ( ) : void

Restores any changes made to the conditions of this award

Method Details

Exists() public static méthode

Returns whether or not the Rank ID provided is a valid BF2 Rank index
public static Exists ( int RankId ) : bool
RankId int
Résultat bool

GetCondition() public méthode

Returns the awards conditions
public GetCondition ( ) : Condition
Résultat Condition

GetName() public static méthode

Returns the Name of the Rank by Index
public static GetName ( int RankId ) : string
RankId int
Résultat string

Rank() public méthode

Constructor
public Rank ( int Id, Condition Conditions ) : System
Id int The rank ID
Conditions Condition The conditions to earn the rank
Résultat System

RestoreDefaultConditions() public méthode

Restores the condition of this award to the default (vanilla) state
public RestoreDefaultConditions ( ) : void
Résultat void

SetCondition() public méthode

Sets the Condition, or Condition list to earn the award
public SetCondition ( Condition C ) : void
C Condition The condition or condition list
Résultat void

ToPython() public méthode

Converts the rank data into python code
public ToPython ( ) : string
Résultat string

ToString() public méthode

Returns the name of the rank
public ToString ( ) : string
Résultat string

ToTree() public méthode

Converts the condition into a viewable TreeNode for the Criteria Editor
public ToTree ( ) : TreeNode
Résultat System.Windows.Forms.TreeNode

UndoConditionChanges() public méthode

Restores any changes made to the conditions of this award
public UndoConditionChanges ( ) : void
Résultat void