tModLoader v2024.09
A mod to make and play Terraria mods
PassLegacy Class Reference

Inherits GenPass.

Public Member Functions

 PassLegacy (string name, WorldGenLegacyMethod method)
 
 PassLegacy (string name, WorldGenLegacyMethod method, double weight)
 
- Public Member Functions inherited from GenPass
 GenPass (string name, double loadWeight)
 
void Apply (GenerationProgress progress, GameConfiguration configuration)
 
void Disable ()
 
- Public Member Functions inherited from 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 GenPass
string Name
 
double Weight
 
- Properties inherited from GenPass
bool Enabled = true [get]
 
- Properties inherited from GenBase
static UnifiedRandom _random [get]
 
static ref Tilemap _tiles [get]
 
static int _worldHeight [get]
 
static int _worldWidth [get]
 

Member Function Documentation

◆ ApplyPass()

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

Implements GenPass.