tModLoader v2024.03
A mod to make and play Terraria mods
GenSearch Class Referenceabstract

Inherits GenBase.

Inherited by Searches.Down, Searches.Left, Searches.Rectangle, Searches.Right, and Searches.Up.

Public Member Functions

GenSearch Conditions (params GenCondition[] conditions)
 
abstract Point Find (Point origin)
 
GenSearch RequireAll (bool mode)
 
- Public Member Functions inherited from GenBase
delegate bool CustomPerUnitAction (int x, int y, params object[] args)
 

Static Public Attributes

static Point NOT_FOUND = new Point(int.MaxValue, int.MaxValue)
 

Protected Member Functions

bool Check (int x, int y)
 

Additional Inherited Members

- Properties inherited from GenBase
static UnifiedRandom _random [get]
 
static ref Tilemap _tiles [get]
 
static int _worldHeight [get]
 
static int _worldWidth [get]