TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ PreHitWire()

virtual bool Terraria.ModLoader.GlobalTile.PreHitWire ( int i,
int j,
int type )
inlinevirtual

Whether or not the vanilla HitWire code and the HitWire hook is allowed to run. Useful for overriding vanilla behavior by returning false. Returns true by default.

Parameters
iThe x position in tile coordinates.
jThe y position in tile coordinates.
type
Returns

Definition at line 258 of file GlobalTile.cs.

259 {
260 return true;
261 }