Delegate FlexalonSlotFilter
- Namespace
- Flexalon
- Assembly
- Flexalon.dll
Adds game-specific validation to a fitting candidate slot. Return false to reject the candidate. Returning true does not bypass the query's occupancy or placement-mode requirements. The callback may run for multiple candidates and must not change the layout.
public delegate bool FlexalonSlotFilter(in FlexalonSlotQuery query, in FlexalonSlot slot, bool isOpen)
Parameters
queryFlexalonSlotQueryThe item and intended bounds center being queried.
slotFlexalonSlotThe candidate placement for the entire item.
isOpenboolWhether the candidate footprint is free of blocking occupants.
Returns
- bool
- Adds game-specific validation to a fitting candidate slot. Return false to reject the candidate. Returning true does not bypass the query's occupancy or placement-mode requirements. The callback may run for multiple candidates and must not change the layout.