C# 클래스 BF2Statistics.MedalData.Rank

상속: IAward
파일 보기 프로젝트 열기: BF2Statistics/ControlCenter 1 사용 예제들

공개 메소드들

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

메소드 상세

Exists() 공개 정적인 메소드

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

GetCondition() 공개 메소드

Returns the awards conditions
public GetCondition ( ) : Condition
리턴 Condition

GetName() 공개 정적인 메소드

Returns the Name of the Rank by Index
public static GetName ( int RankId ) : string
RankId int
리턴 string

Rank() 공개 메소드

Constructor
public Rank ( int Id, Condition Conditions ) : System
Id int The rank ID
Conditions Condition The conditions to earn the rank
리턴 System

RestoreDefaultConditions() 공개 메소드

Restores the condition of this award to the default (vanilla) state
public RestoreDefaultConditions ( ) : void
리턴 void

SetCondition() 공개 메소드

Sets the Condition, or Condition list to earn the award
public SetCondition ( Condition C ) : void
C Condition The condition or condition list
리턴 void

ToPython() 공개 메소드

Converts the rank data into python code
public ToPython ( ) : string
리턴 string

ToString() 공개 메소드

Returns the name of the rank
public ToString ( ) : string
리턴 string

ToTree() 공개 메소드

Converts the condition into a viewable TreeNode for the Criteria Editor
public ToTree ( ) : TreeNode
리턴 System.Windows.Forms.TreeNode

UndoConditionChanges() 공개 메소드

Restores any changes made to the conditions of this award
public UndoConditionChanges ( ) : void
리턴 void