Manages a set of conditions, invoking a delegate when true. More...
Public Member Functions | |
void | SetRuntimeReferences (Quest quest, QuestNode questNode) |
void | CloneSubassetsInto (QuestConditionSet copy, Quest quest=null) |
void | DestroySubassets () |
void | StartChecking (System.Action trueAction) |
Starts checking conditions. | |
void | StopChecking () |
Stops checking conditions. | |
void | ResetConditions () |
Resets the condition set to the state where none of the conditions are marked true yet. | |
Static Public Member Functions | |
static int | ConditionCount (QuestConditionSet conditionSet) |
Properties | |
List< QuestCondition > | conditionList [get, set] |
Conditions in this condition set. | |
ConditionCountMode | conditionCountMode [get, set] |
How many conditions need to be true for the connection to be true. | |
int | minConditionCount [get, set] |
If the Condition Count Mode is Min, at least this many conditions must be true. | |
int | numTrueConditions [get, set] |
The number of conditions that have reported true. | |
bool | areConditionsMet [get] |
True if the conditions are met. | |
Manages a set of conditions, invoking a delegate when true.
|
inline |
|
inlinestatic |
|
inline |
|
inline |
Resets the condition set to the state where none of the conditions are marked true yet.
|
inline |
|
inline |
Starts checking conditions.
Does not reset true condition count because it may have been restored from a saved game.
trueAction |
|
inline |
Stops checking conditions.
|
get |
True if the conditions are met.
|
getset |
How many conditions need to be true for the connection to be true.
|
getset |
Conditions in this condition set.
|
getset |
If the Condition Count Mode is Min, at least this many conditions must be true.
|
getset |
The number of conditions that have reported true.