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

◆ CanGoToStatue()

virtual ? bool Terraria.ModLoader.GlobalNPC.CanGoToStatue ( NPC npc,
bool toKingStatue )
inlinevirtualinherited

Whether this NPC can be teleported to a King or Queen statue. Return true to allow the NPC to teleport to the statue, return false to block this NPC from teleporting to the statue, and return null to use the vanilla code for whether the NPC can teleport to the statue. Returns null by default.

Parameters
npcThe NPC
toKingStatueWhether the NPC is being teleported to a King or Queen statue.

Definition at line 669 of file GlobalNPC.cs.

670 {
671 return null;
672 }