Struct BitmaskRule

Struct Documentation

struct BitmaskRule

Owned bit-position order and mask-to-cell mapping; aggregate assignment does not validate metadata.

Public Members

std::string description

Owned human-readable rule description.

BitmaskType type = {}

Four-cardinal or eight-neighbor direction family.

std::vector<Direction> bit_order

Unique compatible directions; vector index is the mask bit position.

std::unordered_map<std::uint32_t, CE::Assets::Grids::CellIndex> cases

Exact generated mask to row-major cell; an absent case yields MissingRule.