Метод | Описание | |
---|---|---|
BuildAwardCache ( |
This method builds the award cache with the given data from the medal data file. This method WILL CLEAR the award cache from any existing medals
|
|
LoadMedalDataFile ( string FilePath ) : void |
This method loads a Medal data python file, and parses it. The medal data is stored in the AwardCache object
|
|
ParseMedalData ( string Data, |
This method takes a medal data string, and parses it. The parsed match collections are passed back out from referenced variables
|
|
ParseNodeConditions ( |
Takes a node tree and converts it to a Condition
|
|
ReadPythonFile ( string file ) : string |
Simple easy way to get the contents of a file, excluding empty lines.
|
Метод | Описание | |
---|---|---|
MedalDataParser ( ) : System |
Loads the default medal data into the Award Cache
|
|
ParseCondition ( List |
Parses a string condition into condition objects
|
|
ParseCondition ( string ConditionString ) : Condition |
Parses a string condition into condition objects
|
|
ParseFunctions ( List |
Takes each literal token, and determines if its a StatFunction, or ConditionFunction
|
|
Tokenize ( TokenType tokenKind, string pattern, int>.KeyValuePair |
Performs tokenization of a collection of non-tokenized data parts with a specific pattern
|
|
Tokenize ( string source ) : IEnumerable |
Breaks an input string into recognizable tokens
|
public static BuildAwardCache ( |
||
MedalsMatches | ||
RanksMatches | ||
Результат | void |
public static LoadMedalDataFile ( string FilePath ) : void | ||
FilePath | string | The full file path to the python file |
Результат | void |
public static ParseMedalData ( string Data, |
||
Data | string | The contents of the medal data file |
MedalsMatches | ||
RanksMatches | ||
Результат | void |
public static ParseNodeConditions ( |
||
Node | ||
Результат | Condition |
public static ReadPythonFile ( string file ) : string | ||
file | string | |
Результат | string |