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

◆ DropCoins()

long Terraria.Player.DropCoins ( )
inline

Definition at line 18168 of file Player.cs.

18169 {
18171 long num = 0L;
18172 Item[] array = this.inventory;
18173 Item[] array2 = this.inventory;
18174 float x = this.position.X;
18175 float y = this.position.Y;
18176 int width = this.width;
18177 bool wet = this.wet;
18178 int type = array2.type;
18179 int num2 = 32640;
18180 int stack = this.inventory.stack;
18181 if (num2 == 0)
18182 {
18183 }
18184 bool expertMode = Main.expertMode;
18185 Item[] array3 = this.inventory;
18186 if (array3.stack == 0)
18187 {
18188 }
18189 bool masterMode = Main.masterMode;
18190 Item[] array4 = this.inventory;
18191 int num3 = 100;
18192 bool netClientOnly = Main.NetClientOnly;
18193 Item[] array5 = this.inventory;
18194 if (num3 == 0)
18195 {
18196 }
18197 Item item;
18199 this.lostCoins = num;
18200 string text = Main.ValueToCoins(num);
18202 return num;
18203 }
class f__AnonymousType0<< Count > j__TPar
Vector2 position
Definition Entity.cs:460
IEntitySource GetItemSource_Death()
Definition Player.cs:3865
Item[] inventory
Definition Player.cs:21263

References System.array, Terraria.Main.expertMode, Terraria.Player.GetItemSource_Death(), Terraria.Player.inventory, System.item, j__TPar, System.L, Terraria.Main.masterMode, Terraria.Main.NetClientOnly, Terraria.Entity.position, System.stack, Terraria.Item.stack, System.text, Terraria.Main.ValueToCoins(), Terraria.Entity.wet, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.