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

◆ PlaceWire4()

static bool Terraria.WorldGen.PlaceWire4 ( int i,
int j )
inlinestatic

Definition at line 49139 of file WorldGen.cs.

49140 {
49141 if (!Main.tile[i, j].wire4())
49142 {
49143 SoundEngine.PlaySound(0, i * 16, j * 16);
49144 Main.tile[i, j].wire4(wire4: true);
49145 return true;
49146 }
49147 return false;
49148 }
static void PlaySound(int type, Vector2 position, int style=1)

References Terraria.Audio.SoundEngine.PlaySound(), and Terraria.Main.tile.

Referenced by Terraria.MessageBuffer.GetData(), Terraria.Player.ItemCheck_UseWiringTools(), and Terraria.Wiring.MassWireOperationStep().