Procedural Dungeon ⏵ Dungeon Graph
Dungeon Graph
Class Details
Defined in: Public/DungeonGraph.h
Hierarchy: Object → Replicable Object → Dungeon Graph
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 |
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 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 Random Room | Dungeon Graph | Returns a random room from an array of room |
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. |