Datatype · Structs
EntityTeamScanContext
struct
Dynamic team configuration used in EntitySearchEntry.TeamScanContext. Each candidate is evaluated against TeamValidatorTree; passing entities take the OnPass values, failing entities take the OnFail values.
Fields
| Name | Type | Description |
|---|---|---|
| IfObjectFails | EntityRelation | Relation assigned when the candidate fails |
| IfObjectPasses | EntityRelation | Relation assigned when the candidate passes |
| TeamColorOnFail | Color4? | Optional team colour for failing entities. |
| TeamColorOnPass | Color4? | Optional team colour for passing entities. |
| TeamNameOnFail | string | Team label for failing entities. |
| TeamNameOnPass | string | Team label for passing entities. |
| TeamValidatorTree | { ValidatorEntry } | Validator chain that decides the pass / fail bucket for each candidate. |