Procedural Dungeon ⏵ Dungeon Graph
Dungeon Graph
Class Details
Defined in: Public/DungeonGraph.h
Hierarchy: Object → Replicable Object → Dungeon Graph
Implements: Dungeon Save Interface
Exposed in blueprint as: Variable Type
Description
Holds the generated dungeon.
You can access the rooms using many functions.
Nodes
| Name | Category | Description |
|---|---|---|
| Count | Dungeon Graph | Returns the total number of room |
| Count Room Data | Dungeon Graph | Returns the number of a specific RoomData in the dungeon |
| Count Room Type | Dungeon Graph | Returns the number of a specific RoomData type in the dungeon |
| Count Total Room Data | Dungeon Graph | Returns the total number of RoomData in the dungeon from the list provided |
| Count Total Room Type | Dungeon Graph | Returns the total number of RoomData type in the dungeon from the list provided |
| Filter and Sort Rooms | Dungeon Graph | |
| Get All Connections | Dungeon Graph | Returns all room connections |
| Get All Rooms | Dungeon Graph | Returns all rooms |
| Get All Rooms from Data | Dungeon Graph | Returns all room instances of the provided room data |
| Get All Rooms from Data List | Dungeon Graph | Returns all room instances of any of the provided room data |
| Get All Rooms with All Custom Data | Dungeon Graph | Returns all room instances having ALL the provided custom data |
| Get All Rooms with Any Custom Data | Dungeon Graph | Returns all room instances having at least one of the provided custom data |
| Get All Rooms with Custom Data | Dungeon Graph | Returns all room instances having the provided custom data |
| Get Dungeon Bounds Center | Dungeon Graph | Returns the center of the bounding box of the dungeon. See: GetDungeonBoundsExtents |
| Get Dungeon Bounds Extent | Dungeon Graph | Returns the extent (half size) of the bounding box of the dungeon. See: GetDungeonBoundsCenter |
| Get First Room from Data | Dungeon Graph | Returns the first found room instance of the provided room data (no defined order, so could be any room of the dungeon) |
| Get Path Between | Dungeon Graph | Returns the path between A and B. Note: Could be pure, but since it can be heavy duty for large dungeons, keep it impure to avoid duplicate calls. |
| Get Random Room | Dungeon Graph | Returns a random room from an array of room |
| Get Room At | Dungeon Graph | Returns the room instance at the provided room cell (expressed in Room Units, not Unreal Units!!!). Returns null if no room located at the provided cell. |
| Get Room by Index | Dungeon Graph | Returns the room instance with the provided index. Returns null if no room exists with the provided index. |
| Has Already One Room Data From | Dungeon Graph | Returns true if at least one of the RoomData from the list provided is already in the dungeon |
| Has Already One Room Type From | Dungeon Graph | Returns true if at least one of the RoomData type from the list provided is already in the dungeon |
| Has Already Room Data | Dungeon Graph | Returns true if a specific RoomData is already in the dungeon |
| Has Already Room Type | Dungeon Graph | Returns true if a specific RoomData type is already in the dungeon |
| Has Valid Path | Dungeon Graph | Returns wether a path is valid between 2 rooms (no locked room blocking the way) Note: Could be pure, but since it can be heavy duty for large dungeons, keep it impure to avoid duplicate calls. |
| Number Of Room Between | Dungeon Graph | Returns the minimum number of connected rooms between A and B. Note: Could be pure, but since it can be heavy duty for large dungeons, keep it impure to avoid duplicate calls. |
| Number Of Room Between (using ReadOnlyRoom) | Dungeon Graph | Returns the minimum number of connected rooms between A and B. Note: Could be pure, but since it can be heavy duty for large dungeons, keep it impure to avoid duplicate calls. |