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

◆ AfterItemSwap()

static void Terraria.UI.ItemSlot.AfterItemSwap ( int oldType,
int newType )
inlinestaticprivate

Definition at line 1703 of file ItemSlot.cs.

1704 {
1705 if (newType == 5324 || newType == 5329 || newType == 5330 || newType == 4346 || newType == 5391 || newType == 5358 || newType == 5361 || newType == 5360 || newType == 5359)
1706 {
1708 }
1709 else
1710 {
1712 }
1713 Main.stackSplit = 30;
1714 Main.mouseRightRelease = false;
1715 Recipe.FindRecipes();
1716 }
static void PlaySound(int type, Vector2 position, int style=1)

References Terraria.Recipe.FindRecipes(), and Terraria.Audio.SoundEngine.PlaySound().

Referenced by Terraria.UI.ItemSlot.TryItemSwap().