|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inlinevirtualinherited |
Allows you to determine whether an NPC can be hit by the given projectile. Return true to allow hitting the NPC, return false to block hitting the NPC, and return null to use the vanilla code for whether the NPC can be hit. Returns null by default.
| npc | |
| projectile |
Definition at line 427 of file GlobalNPC.cs.