Skip to content

level.MobsGen

level.MobsGen

Fields

NameType
userUser
lInfosVirtual[baseLootLevel, biome, bonusTripleScrollAfterBC, cellBonus, dlc, doubleUps, eliteRoomChance, eliteWanderChance, flagsProps, group, icon, id, index, loreDescriptions, mapDepth, minGold, mobDensity, mobs, name, nextLevels, parallax, props, quarterUpsBC3, quarterUpsBC4, specificLoots, specificSubBiome, transitionTo, tripleUps, worldDepth]
mapshl.types.ArrayObj
roomshl.types.ArrayObj
rseedlibs.Rand
minMobsF64
totalMobCountF64
bonusTotalMobCountI32
platformshl.types.ArrayObj
pfPerMobVirtual[toString, set, remove, keys, iterator, get, exists]
roomMaxMobshaxe.ds.ObjectMap
pfMaxMobshaxe.ds.IntMap
inStoneBool
ltickFun
staticLAST_LOGhl.types.ArrayObj
staticLAST_MINI32
staticLAST_TOTALI32
staticLAST_ELITESI32
staticMIN_PLATFORM_WIDTHI32
staticparsePlatformsFun

Protos

  • f@31866 init(level.MobsGen) → Void
  • f@31867 filterAvailableMobs(level.MobsGen, Virtual[maxCombatRoomsBefore, maxDifficulty, maxSpawn, minCombatRoomsBefore, minDifficulty, mob, packSize, props, quantityFactor, requiredDepth, requiredLevel, singleRoom, singleRoomRatio, spawnWith]) → Bool
  • f@31868 getAvailableMobs(level.MobsGen, hl.types.ArrayObj) → hl.types.ArrayObj
  • f@31869 placeSingleRoomMobs(level.MobsGen, level.MobGenInfos, haxe.ds.IntMap) → Bool
  • f@31870 placeClassicMobs(level.MobsGen, level.MobGenInfos, F64) → Bool
  • f@31871 placeMobsOnPlatforms(level.MobsGen, hl.types.ArrayObj) → Void
  • f@31872 getLevelMaxDist(level.MobsGen) → I32
  • f@31873 fillPlacementData(level.MobsGen, hl.types.ArrayObj, I32) → I32
  • f@31874 addBosses(level.MobsGen, hl.types.ArrayObj, I32) → I32
  • f@31875 eliteTransform(level.MobsGen, hl.types.ArrayObj, Bool) → Void
  • f@31876 addElites(level.MobsGen, hl.types.ArrayObj) → Void
  • f@31877 processRoomMarkers(level.MobsGen, I32) → Void
  • f@31878 generate(level.MobsGen, hl.types.ArrayObj) → Void
  • f@31879 hasRequiredDepth(level.MobsGen, I32, hl.types.ArrayDyn) → Bool
  • f@31880 getDmgTier(level.MobsGen, level.LevelMap, level.Room, I32) → I32
  • f@31881 getLifeTier(level.MobsGen, level.LevelMap, level.Room, I32) → I32
  • f@31882 pickBestPlatform(level.MobsGen, level.MobGenInfos, level.Room) → level.MobPlatform
  • f@31883 testMobConstraint(level.MobsGen, level.MobPlatform, level.MobGenInfos) → Bool
  • f@31884 countTotal(level.MobsGen, level.Room, level.MobPlatform) → F64
  • f@31885 countKind(level.MobsGen, String, level.Room, level.MobPlatform) → I32

Bindings

  • static f@31864 __constructor__(level.MobsGen, User, libs.Rand, hl.types.ArrayObj, Ref, Fun, Ref) → Void
  • static f@31863 parsePlatforms(level.LevelMap, level.Room) → hl.types.ArrayObj