tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.DataStructures.PlacementHook Struct Reference

Public Member Functions

 PlacementHook (Func< int, int, int, int, int, int, int > hook, int badReturn, int badResponse, bool processedCoordinates)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Static Public Member Functions

static bool operator!= (PlacementHook first, PlacementHook second)
 
static bool operator== (PlacementHook first, PlacementHook second)
 

Public Attributes

int badResponse
 
int badReturn
 
Func< int, int, int, int, int, int, int > hook
 
bool processedCoordinates
 

Static Public Attributes

static PlacementHook Empty = new PlacementHook(null, 0, 0, processedCoordinates: false)
 
const int Response_AllInvalid = 0