Skip to main content

BuildingRooms.RoomNode

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

Private helper of BuildingRooms: one room (or an outside space per floor) in the room graph used to carve doors and stairs.

Constructors​

MemberWhat it is
RoomNode()Creates a BuildingRooms.RoomNode with default values.

Fields​

2 private and internal fields
MemberWhat it is
private List<BuildingRooms.RoomPath> newPathsBacking list for NewPaths.
private List<BuildingRooms.RoomPath> pathsBacking list for Paths.

Properties​

MemberWhat it is
int Floor { get; set; }Which floor the room is on.
bool IsExternal { get; set; }True for the outside space around the building on a floor.
bool IsFloored { get; set; }True when the space has a floor and can be walked into while carving paths.
bool IsUsed { get; set; }True once carving has reached this room.
List<BuildingRooms.RoomPath> NewPaths { get; }Paths actually opened up (doors or stairs) to and from this room.
NodeCollection NodeCollection { get; set; }The voxel nodes that make up the room.
List<BuildingRooms.RoomPath> Paths { get; }Every possible path to a room this one overlaps with.

Used in​

Members of other types that take, return or hold a RoomNode: