public static void LokiPoe.TerrainData.UnblockTriggerableBlockages(ref byte[] data, int bytesPerRow, Func<NetworkObject, bool> shouldUnblock)
This method is mostly used internally and allow us to remove obstacle dynamically placed by the ExilePather class, like closed doors or other NetworkObjects that deny the passage. This is actually used to clear all blocking NetworkObject in some special situation.
databyte[]- The area bytes layout (usually the ground layout, layer0)
bytesPerRowint- Number of bytes per row.
shouldUnblockFunc<NetworkObject, bool>- A Function that take a TriggerableBlockage as parameter.