tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.WorldBuilding.SimpleStructure Class Reference

Inherits Terraria.WorldBuilding.GenStructure.

Public Member Functions

 SimpleStructure (params string[] data)
 
 SimpleStructure (string data)
 
SimpleStructure Mirror (bool horizontalMirror, bool verticalMirror)
 
override bool Place (Point origin, StructureMap structures)
 
SimpleStructure SetActions (params GenAction[] actions)
 
abstract bool Place (Point origin, StructureMap structures)
 
- Public Member Functions inherited from Terraria.WorldBuilding.GenBase
delegate bool CustomPerUnitAction (int x, int y, params object[] args)
 

Properties

int Height [get]
 
int Width [get]
 
- 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

◆ Place()

override bool Terraria.WorldBuilding.SimpleStructure.Place ( Point  origin,
StructureMap  structures 
)
virtual