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

◆ CheckActive()

virtual bool Terraria.ModLoader.ModNPC.CheckActive ( )
inlinevirtual

Whether or not to run the code for checking whether this NPC will remain active. Return false to stop this NPC from being despawned and to stop this NPC from counting towards the limit for how many NPCs can exist near a player. Returns true by default.

Returns

Definition at line 305 of file ModNPC.cs.

306 {
307 return true;
308 }