Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ genRand

UnifiedRandom Terraria.WorldGen.genRand
staticget

Definition at line 1214 of file WorldGen.cs.

1215 {
1216 get
1217 {
1218 if (_lastSeed != _genRandSeed)
1219 {
1222 }
1223 if (_genRand == null)
1224 {
1227 }
1228 return _genRand;
1229 }
1230 }
static int _lastSeed
Definition WorldGen.cs:1016
static UnifiedRandom _genRand
Definition WorldGen.cs:1011
static int _genRandSeed
Definition WorldGen.cs:1014

Referenced by Terraria.GameContent.Biomes.CaveHouse.WoodHouseBuilder.WoodHouseBuilder(), Terraria.GameContent.Biomes.Desert.DesertHive.AddTileVariance(), Terraria.GameContent.Biomes.CaveHouse.WoodHouseBuilder.AgeRoom(), Terraria.GameContent.Biomes.Desert.DesertHive.ClusterGroup.AttemptClaim(), Terraria.GameContent.Biomes.Desert.DesertDescription.CreateFromPlacement(), Terraria.GameContent.Biomes.DunesBiome.DunesDescription.CreateFromPlacement(), Terraria.GameContent.Biomes.CaveHouse.HouseUtils.CreateRooms(), Terraria.WorldGen.Spread.Gem(), Terraria.WorldGen.gemCave(), Terraria.GameContent.Biomes.Desert.DesertHive.ClusterGroup.Generate(), Terraria.WorldGen.GenerateWorld(), Terraria.GameContent.Biomes.TerrainPass.GenerateWorldSurfaceOffset(), Terraria.GameContent.Profiles.VariantNPCProfile.GetNameForVariant(), Terraria.NPC.getNewNPCNameInner(), Terraria.WorldGen.GetNextJungleChestItem(), Terraria.IO.WorldFile.LoadHeader(), Terraria.IO.WorldFile.LoadWorld(), Terraria.IO.WorldFile.LoadWorld_Version1_Old_BeforeRelease88(), Terraria.WorldGen.MarblePileWithStatues(), Terraria.WorldGen.mayanTrap(), Terraria.WorldGen.meteor(), Terraria.WorldGen.neonMossBiome(), Terraria.WorldGen.OrePatch(), Terraria.GameContent.Biomes.Desert.AnthillEntrance.Place(), Terraria.GameContent.Biomes.Desert.ChambersEntrance.Place(), Terraria.GameContent.Biomes.Desert.LarvaHoleEntrance.Place(), Terraria.GameContent.Biomes.Desert.PitEntrance.Place(), Terraria.GameContent.Biomes.Desert.SandMound.Place(), Terraria.GameContent.Biomes.CampsiteBiome.Place(), Terraria.GameContent.Biomes.HiveBiome.Place(), Terraria.GameContent.Biomes.MahoganyTreeBiome.Place(), Terraria.GameContent.Biomes.Desert.ChambersEntrance.PlaceAt(), Terraria.GameContent.Biomes.Desert.AnthillEntrance.PlaceAt(), Terraria.GameContent.Biomes.Desert.LarvaHoleEntrance.PlaceAt(), Terraria.GameContent.Biomes.Desert.DesertHive.PlaceClustersArea(), Terraria.GameContent.Biomes.DunesBiome.PlaceHill(), Terraria.WorldGen.PlaceOasis(), Terraria.GameContent.Generation.TrackGenerator.PlacePath(), Terraria.GameContent.Biomes.MarbleBiome.PlaceSlab(), Terraria.WorldGen.placeTrap(), Terraria.GameContent.Biomes.CaveHouse.WoodHouseBuilder.RainbowifyOnTenthAnniversaryWorlds(), Terraria.WorldGen.randGem(), Terraria.WorldGen.randGemTile(), Terraria.WorldGen.randMoss(), Terraria.WorldGen.RandomizeCaveBackgrounds(), Terraria.WorldGen.RandomizeTreeStyle(), Terraria.WorldGen.RandomizeWeather(), Terraria.Framing.SelfFrame8Way(), Terraria.NPC.setFireFlyChance(), Terraria.WorldGen.ShellPile(), Terraria.WorldGen.Spread.Spider(), Terraria.WorldGen.Statue(), Terraria.WorldGen.StonePatch(), Terraria.Liquid.Update(), and Terraria.Framing.WallFrame().