Skip to content

Class "RoomConfigHolder"⚓︎

Info

You can get this class by using the RoomConfigHolder global table.

Example Code
1
local roomconf = RoomConfigHolder.GetRoomByStageTypeAndVariant (StbType.BASEMENT,RoomType.ROOM_DEFAULT,1,0)

Functions⚓︎

GetRandomRoom ()⚓︎

RoomConfigRoom GetRandomRoom ( int Seed, boolean ReduceWeight, StbType Stage, RoomType Type, RoomShape Shape = RoomShape.NUM_ROOMSHAPES, int MinVariant = 0, int MaxVariant = -1, int MinDifficulty = 0, int MaxDifficulty = 10, int RequiredDoors = 0, int SubType = -1, int Mode = -1 )⚓︎

Returns a RoomConfigRoom corresponding to the given params.


GetRoomByStageTypeAndVariant ()⚓︎

RoomConfigRoom GetRoomByStageTypeAndVariant ( StbType Stage, RoomType Type, int Variant, int Mode = -1 )⚓︎

Returns a RoomConfigRoom corresponding to the given params.