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

◆ Volcano_TrySpawningVolcano()

void Terraria.Player.Volcano_TrySpawningVolcano ( NPC npc,
Item sItem,
float damage,
float knockBack,
Rectangle itemRectangle )
inlineprivate

Definition at line 14608 of file Player.cs.

14609 {
14610 if (this._spawnVolcanoExplosion)
14611 {
14612 int myPlayer = Main.myPlayer;
14613 int whoAmI = this.whoAmI;
14614 if (npc != null)
14615 {
14616 bool flag = npc.HittableForOnHitRewards();
14617 }
14618 Microsoft.Xna.Framework.Vector2 center = npc.Center;
14620 float num = this.gravDir;
14621 int whoAmI2 = this.whoAmI;
14622 }
14623 }
class f__AnonymousType0<< Count > j__TPar
IEntitySource GetProjectileSource_Item(Item item)
Definition Player.cs:3853
bool _spawnVolcanoExplosion
Definition Player.cs:23114

References Terraria.Player._spawnVolcanoExplosion, Terraria.Entity.Center, Terraria.Player.GetProjectileSource_Item(), Terraria.Player.gravDir, Terraria.NPC.HittableForOnHitRewards(), j__TPar, Terraria.Main.myPlayer, and Terraria.Entity.whoAmI.