refactor(Core/SmartScripts): Clean up validation logic by replacing A… (#21184)

This commit is contained in:
Kitzunu 2025-01-16 20:49:26 +01:00 committed by GitHub
parent e2981cbbc9
commit 2aa8c8aa80
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 42 additions and 98 deletions

View file

@ -2219,6 +2219,7 @@ private:
return true;
}
static bool IsSAIBoolValid(SmartScriptHolder const& e, SAIBool value);
static bool IsTextValid(SmartScriptHolder const& e, uint32 id);
static bool CheckUnusedEventParams(SmartScriptHolder const& e);
static bool CheckUnusedActionParams(SmartScriptHolder const& e);