Table of Contents

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

query FlexalonSlotQuery

The item and intended bounds center being queried.

slot FlexalonSlot

The candidate placement for the entire item.

isOpen bool

Whether 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.