Skip to main content

Constructor.PlacingData<T>

A private class in Root.Township, Alta.PAGaC. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

Precomputed tag bitmasks for one rule or part in each of its configurations, which the Constructor uses to test placements quickly. Cells with one allowed tag go in the all-of masks, cells with several in the any-of masks.

Constructors​

MemberWhat it is
PlacingData()Creates a Constructor.PlacingData with default values.

Fields​

MemberWhat it is
List<ulong[,]> allOfXCompressedFlagsPer configuration: required-tag bits indexed by z and y, combined over x.
List<ulong[]> allOfXzCompressedFlagsPer configuration: required-tag bits per y layer, combined over x and z.
List<ulong[,]> allOfZCompressedFlagsPer configuration: required-tag bits indexed by x and y, combined over z.
List<ulong[,]> anyOfXCompressedFlagsPer configuration: any-of tag bits indexed by z and y, combined over x.
List<ulong[]> anyOfXzCompressedFlagsPer configuration: any-of tag bits per y layer, combined over x and z.
List<ulong[,]> anyOfZCompressedFlagsPer configuration: any-of tag bits indexed by x and y, combined over z.
List<int> configurationIndexWhich of the rule's configurations each mask entry came from. Only configurations whose tags all exist are kept.
T partThe rule or part this data is for.

Used in​

Members of other types that take, return or hold a PlacingData&lt;T>: