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

◆ BloodButcherer_TryButchering()

void Terraria.Player.BloodButcherer_TryButchering ( NPC npc,
Item sItem,
float damage,
float knockBack )
inlineprivate

Definition at line 14664 of file Player.cs.

14665 {
14667 if (spawnBloodButcherer)
14668 {
14670 {
14671 }
14672 int myPlayer = Main.myPlayer;
14673 int whoAmI = this.whoAmI;
14674 if (npc != null)
14675 {
14676 long num = 0L;
14677 bool flag = npc.CanBeChasedBy(this, num != 0L);
14678 }
14679 Microsoft.Xna.Framework.Vector2 center = npc.Center;
14681 if (whoAmI == 0)
14682 {
14683 }
14684 if (!true)
14685 {
14686 }
14687 Rectangle hitbox = npc.Hitbox;
14691 int whoAmI2 = this.whoAmI;
14692 int whoAmI3 = npc.whoAmI;
14693 int whoAmI4 = npc.whoAmI;
14694 int whoAmI5 = npc.whoAmI;
14695 }
14696 }
class f__AnonymousType0<< Count > j__TPar
bool _spawnBloodButcherer
Definition Player.cs:23111
IEntitySource GetProjectileSource_Item(Item item)
Definition Player.cs:3853
Microsoft.Xna.Framework.Vector2 MountedCenter
Definition Player.cs:369

References Terraria.Player._spawnBloodButcherer, Terraria.NPC.CanBeChasedBy(), Terraria.Entity.Center, Terraria.Player.GetProjectileSource_Item(), Terraria.Entity.Hitbox, j__TPar, System.L, Terraria.Player.MountedCenter, Terraria.Main.myPlayer, and Terraria.Entity.whoAmI.