tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.GameContent.Generation.PassLegacy Class Reference

Inherits Terraria.WorldBuilding.GenPass.

Public Member Functions

 PassLegacy (string name, WorldGenLegacyMethod method)
 
 PassLegacy (string name, WorldGenLegacyMethod method, float weight)
 
- Public Member Functions inherited from Terraria.WorldBuilding.GenPass
 GenPass (string name, float loadWeight)
 
void Apply (GenerationProgress progress, GameConfiguration configuration)
 
GenPass OnBegin (Action< GenPass > beginAction)
 
GenPass OnComplete (Action< GenPass > completionAction)
 
- Public Member Functions inherited from Terraria.WorldBuilding.GenBase
delegate bool CustomPerUnitAction (int x, int y, params object[] args)
 

Protected Member Functions

override void ApplyPass (GenerationProgress progress, GameConfiguration configuration)
 
abstract void ApplyPass (GenerationProgress progress, GameConfiguration configuration)
 

Additional Inherited Members

- Public Attributes inherited from Terraria.WorldBuilding.GenPass
string Name
 
float Weight
 
- Properties inherited from Terraria.WorldBuilding.GenBase
static UnifiedRandom _random [get]
 
static ref Tilemap _tiles [get]
 
static int _worldHeight [get]
 
static int _worldWidth [get]
 

Member Function Documentation

◆ ApplyPass()

override void Terraria.GameContent.Generation.PassLegacy.ApplyPass ( GenerationProgress  progress,
GameConfiguration  configuration 
)
protectedvirtual