terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ GetColorByLoadout()

static Microsoft.Xna.Framework.Graphics.Color Terraria.UI.ItemSlot.GetColorByLoadout ( int slot,
int context )
inlinestatic

Definition at line 775 of file ItemSlot.cs.

776 {
777 int num = 1;
778 if (num == 0)
779 {
780 }
781 if (num == 0)
782 {
783 }
784 Player localPlayer = Main.LocalPlayer;
785 int currentLoadoutIndex = localPlayer.CurrentLoadoutIndex;
786 if (localPlayer == null)
787 {
788 }
789 if (localPlayer == null)
790 {
791 return;
792 }
793 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.Player.CurrentLoadoutIndex, j__TPar, and Terraria.Main.LocalPlayer.