public static void ExilePather.BlockTriggerableBlockages(ref byte[] data, int bytesPerRow, Func<NetworkObject, bool> shouldBlock, List<NetworkObject> obj)
Applies a blockage's observed closed clearance (predicate true) or restores its open clearance (predicate false). Does not open or close the object in the game or turn surrounding walls into walkable cells. Empty bounds contain no cells and are ignored without interrupting the remaining objects.
voidNo return value.Parameters
data- Parameter type:
byte[]No current DPB page is linked for this built-in, external, generic or compatibility-only type.Walkability data buffer to modify.
bytesPerRow- Parameter type:
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Row stride in bytes for data.
shouldBlock- Parameter type:
Func<NetworkObject, bool>Predicate indicating whether a blockage should be applied for a given object.
obj- Parameter type:
List<NetworkObject>Objects whose triggerable blockage components supply the overlay.