Datatype · Structs
ValidatorEntry
struct
Single predicate in a ScanValidatorTree or TeamValidatorTree. The Validator field selects the kind; the remaining fields are kind-specific.
Kinds and their args:
GetValue-{ Target = string, Expect = any }readsinstance[Target]and compares.GetAttribute-{ Target = string, Expect = any }reads the named attribute and compares.CheckMeshId-{ Expect = string }matchesMeshIdon aMeshPart/SpecialMesh.CheckTextureId-{ Expect = string }matchesTextureID.CheckForChild-{ Name = string }requires a child of that name.CheckForChildOfClass-{ ClassName = string }requires a child whoseClassNamematches exactly.CheckForChildWhichIsA-{ ClassName = string }requires a child thatIsA(ClassName).
Fields
| Name | Type | Description |
|---|---|---|
| ClassName | string? | Class name for |
| Expect | any? | Expected value for |
| Name | string? | Child name for |
| Target | string? | Property or attribute name for |
| Validator | ValidatorKind | Selects the predicate variant. The other required fields depend on this value. |