Procedural Dungeon ⏵ Dungeon Graph ⏵ Filter and Sort Rooms
Filter and Sort Rooms
Class: Dungeon Graph
Category: Dungeon Graph
Node

C++
bool FilterAndSortRooms(const TArray<URoomData*>& RoomList, const FDoorDef& FromDoor, TArray<FRoomCandidate> SortedRooms, const FScoreCallback& CustomScore) const
Inputs
| Name | Type | Description |
|---|---|---|
| In | Exec | |
| Target | Dungeon Graph Object Reference | |
| Room List | Array of Room Data Object References | |
| From Door | Door Def Structure (by ref) | |
| Custom Score | Delegate (by ref) |
Outputs
| Name | Type | Description |
|---|---|---|
| True | Exec | |
| False | Exec | |
| Sorted Rooms | Array of Room Candidate Structures |