tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.GameContent.Bestiary.NPCWasNearPlayerTracker Class Reference

Inherits Terraria.GameContent.IPersistentPerWorldContent, and Terraria.GameContent.IOnPlayerJoining.

Public Member Functions

bool GetWasNearbyBefore (NPC npc)
 
bool GetWasNearbyBefore (string persistentIdentifier)
 
void Load (BinaryReader reader, int gameVersionSaveWasMadeOn)
 
void OnPlayerJoining (int playerIndex)
 
void PrepareSamplesBasedOptimizations ()
 
void RegisterWasNearby (NPC npc)
 
void Reset ()
 
void Save (BinaryWriter writer)
 
void ScanWorldForFinds ()
 
void SetWasSeenDirectly (string persistentId)
 
void ValidateWorld (BinaryReader reader, int gameVersionSaveWasMadeOn)