void Expansions.Missions.Editor.MissionEditorValidator.AddNodeFail |
( |
MENode |
node, |
|
|
string |
message |
|
) |
| |
|
inline |
void Expansions.Missions.Editor.MissionEditorValidator.AddNodePass |
( |
MENode |
node, |
|
|
string |
message |
|
) |
| |
|
inline |
Add a result for a node
Helper function to save some typing
- Parameters
-
node | Node for the test |
result | status of the message |
message | message to store |
void Expansions.Missions.Editor.MissionEditorValidator.AddNodeResult |
( |
MENode |
node, |
|
|
ValidationStatus |
result, |
|
|
string |
message |
|
) |
| |
|
inline |
Add a result for a node
Helper function to save some typing
- Parameters
-
node | Node for the test |
result | true is passed |
message | message to store for a pass |
void Expansions.Missions.Editor.MissionEditorValidator.AddNodeWarn |
( |
MENode |
node, |
|
|
string |
message |
|
) |
| |
|
inline |
Add a list of results
- Parameters
-
static Color Expansions.Missions.Editor.MissionEditorValidator.GetStatusColor |
( |
| ) |
|
|
inlinestatic |
Get the color based on validation status
Used for the validation report button
- Returns
- Color to tint button icon
static Color Expansions.Missions.Editor.MissionEditorValidator.GetValidationColor |
( |
ValidationStatus |
status | ) |
|
|
inlinestatic |
Get the Validation Color from the instance values
- Parameters
-
status | status to get the color for |
- Returns
static ValidatorMode Expansions.Missions.Editor.MissionEditorValidator.NextMode |
( |
| ) |
|
|
inlinestatic |
static void Expansions.Missions.Editor.MissionEditorValidator.ResetValidator |
( |
| ) |
|
|
inlinestatic |
Call this to reset the instance values
static void Expansions.Missions.Editor.MissionEditorValidator.RunValidation |
( |
Mission |
mission | ) |
|
|
inlinestatic |
Parse the mission and find any issues
- Parameters
-
highlightGUINodes | True to turn on the validation gui elements in the mission |
static void Expansions.Missions.Editor.MissionEditorValidator.RunValidationOnParamChange |
( |
| ) |
|
|
inlinestatic |
This one is called by parameter level changes and then runs the validator if the Mode settings say its good to go
bool Expansions.Missions.Editor.MissionEditorValidator.highlightGUINodes = true |
Should we highlight the GUINodes with the colored bix on validation checks
Singleton for this object
bool Expansions.Missions.Editor.MissionEditorValidator.IsValid |
|
get |
Returns true if there are no validation issues in the list
Mission Expansions.Missions.Editor.MissionEditorValidator.Mission |
|
getset |
The mission that was validated
ValidatorMode Expansions.Missions.Editor.MissionEditorValidator.Mode |
|
staticget |
The list of results from the validation
Return the Worst status for the validator as a combined value
The documentation for this class was generated from the following file: