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

◆ UpdateItemDye()

void Terraria.Player.UpdateItemDye ( bool isNotInVanitySlot,
bool isSetToHidden,
Item armorItem,
Item dyeItem )
inlineprivate

Definition at line 3782 of file Player.cs.

3783 {
3784 int num = 1;
3785 bool isAir = armorItem.IsAir;
3786 int num2 = 1;
3787 if (num == 0)
3788 {
3789 }
3790 int num3 = this.cShieldFallback;
3791 byte b = dyeItem.dye;
3792 this.cShieldFallback = (int)b;
3793 if (num2 == 0)
3794 {
3795 return;
3796 }
3797 if (b == 0)
3798 {
3799 }
3800 byte b2 = dyeItem.dye;
3801 this.cHandOn = (int)b2;
3802 if (b2 == 0)
3803 {
3804 }
3805 byte b3 = dyeItem.dye;
3806 this.cHandOff = (int)b3;
3807 if (b3 == 0)
3808 {
3809 }
3810 byte b4 = dyeItem.dye;
3811 this.cBackpack = (int)b4;
3812 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.Player.cShieldFallback, and j__TPar.