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

◆ PickAmmo()

void Terraria.Player.PickAmmo ( Item sItem,
int projToShoot,
float speed,
bool canShoot,
int Damage,
float KnockBack,
[Out] int usedAmmoItemId,
bool dontConsume = false )
inline

Definition at line 17662 of file Player.cs.

17663 {
17664 int num = 1;
17665 int useAmmo = sItem.useAmmo;
17666 if (num == 0)
17667 {
17668 }
17669 Item[] array = this.inventory;
17670 int useAmmo2 = sItem.useAmmo;
17671 Item[] array2 = this.inventory;
17672 int useAmmo3 = sItem.useAmmo;
17673 }
class f__AnonymousType0<< Count > j__TPar
int useAmmo
Definition Item.cs:2352
Item[] inventory
Definition Player.cs:21263

References System.array, Terraria.Player.inventory, j__TPar, and Terraria.Item.useAmmo.