TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ HitEffect() [1/2]

void Terraria.NPC.HitEffect ( HitInfo hit)
inline

Definition at line 92211 of file NPC.cs.

92212 {
92214 {
92215 VanillaHitEffect(hit.HitDirection, hit.Damage, hit.InstantKill);
92216 NPCLoader.HitEffect(this, in hit);
92217 }
92218 }
static void HitEffect(NPC npc, in NPC.HitInfo hit)
Definition NPCLoader.cs:676
This serves as the central class from which NPC-related functions are carried out....
Definition NPCLoader.cs:26
readonly IEntitySource thisEntitySourceCache
Definition NPC.cs:1280
void VanillaHitEffect(int hitDirection, double dmg, bool instantKill)
Definition NPC.cs:92220
static FallbackSourceRef PushFallback(IEntitySource source)
This object encapsulates context information about the source of a particular spawning event of an It...

References Terraria.ModLoader.NPCLoader.HitEffect(), and Terraria.DataStructures.IEntitySource.PushFallback().

+ Here is the call graph for this function: