C# Class BF2Statistics.MedalData.Condition

Provides a base object to define conditions required to receive an award in the medal_data.py
Inheritance: ICloneable
Exibir arquivo Open project: BF2Statistics/ControlCenter

Public Methods

Method Description
Clone ( ) : object

Creates a Deep clone of the condition, and returns it

GetParams ( ) : List

Returns the parameters that make up the python parts of the function

Returns ( ) : ReturnType

Returns the value return type of this condition

Sec2hms ( int seconds ) : string

Converts a Timespan of seconds into Hours, Minutes, and Seconds

SetParams ( List Params ) : void

Sets new parameters for the python function

ToPython ( ) : string

Converts the condition object into python parsable code.

ToTree ( ) : TreeNode

Converts the condition into a viewable TreeNode for the Criteria Editor

Method Details

Clone() public abstract method

Creates a Deep clone of the condition, and returns it
public abstract Clone ( ) : object
return object

GetParams() public abstract method

Returns the parameters that make up the python parts of the function
public abstract GetParams ( ) : List
return List

Returns() public abstract method

Returns the value return type of this condition
public abstract Returns ( ) : ReturnType
return ReturnType

Sec2hms() public static method

Converts a Timespan of seconds into Hours, Minutes, and Seconds
public static Sec2hms ( int seconds ) : string
seconds int Seconds to convert
return string

SetParams() public abstract method

Sets new parameters for the python function
public abstract SetParams ( List Params ) : void
Params List
return void

ToPython() public abstract method

Converts the condition object into python parsable code.
public abstract ToPython ( ) : string
return string

ToTree() public method

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