Skip to content

level.RoomTemplate

level.RoomTemplate

Fields

NameType
datVirtual[active, flags, group, id, type]
nameString
widI32
heiI32
colshl.types.ArrayObj
linkshl.types.ArrayObj
markershl.types.ArrayObj
rndBlockshl.types.ArrayObj
mobshl.types.ArrayObj
flipBool
rectshl.types.ArrayObj
possibleExitsI32
staticALLhl.types.ArrayObj
staticMAX_COL_CELL_IDI32
staticparseAllFun
staticgetMapFun
staticgetTemplateFun
staticgetCellTypeFun

Protos

  • f@31758 addHLinks(level.RoomTemplate, I32, I32, hl.types.ArrayBytes_Int, hl.types.ArrayObj) → Void
  • f@31759 addVLinks(level.RoomTemplate, I32, I32, hl.types.ArrayBytes_Int, hl.types.ArrayObj) → Void
  • f@31760 addRndBlocks(level.RoomTemplate, I32, level.RndBlockType, hl.types.ArrayBytes_Int, hl.types.ArrayObj) → Void
  • f@31761 getGroups(level.RoomTemplate, I32, hl.types.ArrayBytes_Int, hl.types.ArrayObj) → hl.types.ArrayObj
  • f@31762 hasLinks(level.RoomTemplate, I32, I32) → Bool
  • f@31763 getExitLinkCombos(level.RoomTemplate, I32, hl.types.ArrayObj) → hl.types.ArrayObj
  • f@31764 getVariant(level.RoomTemplate, libs.Rand) → hl.types.ArrayObj
  • f@31765 hasLinkAt(level.RoomTemplate, I32, I32) → Bool
  • f@31766 hasZDoors(level.RoomTemplate, hl.types.ArrayObj) → Bool

Bindings

  • static f@31774 __constructor__(level.RoomTemplate, Virtual[active, flags, group, id, type], Null, Null) → Void
  • static f@31773 getCellType(I32) → level.ColType
  • static f@31772 getTemplate(Virtual[active, flags, group, id, type], Null, Null) → level.RoomTemplate
  • static f@31771 getMap(hl.types.ArrayObj) → Virtual[toString, set, remove, keys, iterator, get, exists]
  • static f@31770 parseAll(Fun) → hl.types.ArrayObj