Rename and refactor macro class functions

LastConditionCheckTime() will be required to support custom condition
check intervals per macro
This commit is contained in:
WarmUpTill
2024-09-02 19:33:29 +02:00
committed by WarmUpTill
parent 94263cc7a0
commit 9eb4e90291
8 changed files with 38 additions and 42 deletions

View File

@@ -58,7 +58,7 @@ bool MacroConditionMacro::CheckStateCondition()
return false;
}
return macro->Matched();
return macro->ConditionsMatched();
}
bool MacroConditionMacro::CheckMultiStateCondition()
@@ -72,7 +72,7 @@ bool MacroConditionMacro::CheckMultiStateCondition()
if (!macro) {
continue;
}
if (macro->Matched()) {
if (macro->ConditionsMatched()) {
matchedCount++;
}
}