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

◆ ResetEffects()

virtual void Terraria.ModLoader.ModNPC.ResetEffects ( )
inlinevirtual

This is where you reset any fields you add to your subclass to their default states. This is necessary in order to reset your fields if they are conditionally set by a tick update but the condition is no longer satisfied. (Note: This hook is only really useful for GlobalNPC, but is included in ModNPC for completion.)

Definition at line 232 of file ModNPC.cs.

233 {
234 }