Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.GameContent.Bestiary.NPCWasNearPlayerTracker Class Reference

Public Member Functions

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

Private Attributes

object _entryCreationLock = new object()
 
HashSet< string_wasNearPlayer
 
List< Rectangle_playerHitboxesForBestiary
 
List< int > _wasSeenNearPlayerByNetId
 

Detailed Description

Definition at line 10 of file NPCWasNearPlayerTracker.cs.


The documentation for this class was generated from the following file: