Skip to main content
Version: 3.7

Procedural Dungeon ⏵ Dungeon Graph ⏵ Count Total Room Type

Count Total Room Type

Class: Dungeon Graph
Category: Dungeon Graph

Description​

Returns the total number of RoomData type in the dungeon from the list provided

Node

C++

int32 CountTotalRoomType(const TArray<TSubclassOf<URoomData> >& RoomTypeList) const

Inputs​

NameTypeDescription
TargetDungeon Graph Object Reference
Room Type ListArray of Room Data Class References

Outputs​

NameTypeDescription
Return ValueIntegerReturns the total number of RoomData type in the dungeon from the list provided