Property | Type | Description | |
---|---|---|---|
ChangesMade | bool | ||
PythonPath | string | ||
SelectedAward | IAward |
Property | Type | Description | |
---|---|---|---|
ActiveProfile | string | ||
Child | |||
ConditionNode | |||
LastSelectedProfile | string | ||
SelectedAwardNode |
Method | Description | |
---|---|---|
DeleteCriteria ( ) : void |
Removes a criteria from the selected awards condition tree
|
|
EditCriteria ( ) : void |
Brings up the Criteria Editor for the selected Award Condition Node
|
|
MedalDataEditor ( ) : System |
Constructor
|
|
SetAwardImage ( string name ) : void |
Sets the award image based on the Award ID Passed
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
|
LoadProfiles ( ) : void |
Scans the stats directory, and adds each found medal data profile to the profile selector
|
|
ValidateConditions ( |
This method is used to highlight the invalid condition nodes of the current selected AwardNode, to let the user know that the conditions selected wont work properly when loaded by the server Applies highlighting from the Award Node => to => The Root Node |
Method | Description | |
---|---|---|
ActivateProfileBtn_Click ( object sender, |
Activates the current profile within the BF2StatisticsConfig.py
|
|
AddNewCriteria ( object sender, |
Adds a new criteria to an award from the Add Critera Dialog
|
|
AwardConditionsTree_AfterSelect ( object sender, |
Assigns the correct Context menu options based on the selected node
|
|
AwardConditionsTree_BeforeCollapse ( object sender, System.Windows.Forms.TreeViewCancelEventArgs e ) : void |
Disables collapsing of condition tree nodes
|
|
AwardConditionsTree_KeyDown ( object sender, |
Allows enter and delete keys to edit and delete criteria
|
|
AwardConditionsTree_NodeMouseDoubleClick ( object sender, |
Allows edit of criteria's on double mouse click
|
|
AwardTree_AfterSelect ( object sender, |
An event called everytime a new award is selected... It repaints the current award info
|
|
DelProfileBtn_Click ( object sender, |
Deletes the selected profile
|
|
DeleteCriteriaMenuItem_Click ( object sender, |
When the delete option is pressed, removes the criteria
|
|
EditCriteriaMenuItem_Click ( object sender, |
Edit Criteria option Click
|
|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
NewCriteriaMenuItem_Click ( object sender, |
Adding a new Criteria
|
|
NewCriteria_Closing ( object sender, |
Shows the correct new criteria screen when the uesr selects which type.
|
|
NewProfileBtn_Click ( object sender, |
Opens the dialog to create a new profile
|
|
ProfileSelector_SelectedIndexChanged ( object sender, |
This method is called upon selecting a new Medal Data Profile. It loads the new medal data, and calls the parser to parse it.
|
|
RestoreToDefaultMenuItem_Click ( object sender, |
Restores the condition / criteria back to default (vanilla)
|
|
SaveButton_Click ( object sender, |
Saves the medal data to a file
|
|
UndoAllChangesMenuItem_Click ( object sender, |
When the Undo Changes menu option is selected, this method reverts any changes made to the current condition list
|
|
ValidateConditions ( ) : void |
This method is used to highlight the invalid condition nodes in the conditions treeview, as to let the user know that the conditions selected wont work properly when loaded by the server Applies highlighting from the Root Nodes => to => The Award Nodes |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
public SetAwardImage ( string name ) : void | ||
name | string | The Award ID |
return | void |
protected ValidateConditions ( |
||
AwardNode | ||
Con | Condition | |
return | void |
protected ConditionForm,BF2Statistics.MedalData Child | ||
return |
protected TreeNode,System.Windows.Forms ConditionNode | ||
return |