terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
Terraria.GameContent.Bestiary.NPCKillsTracker Class Reference
+ Inheritance diagram for Terraria.GameContent.Bestiary.NPCKillsTracker:

Public Member Functions

 NPCKillsTracker ()
 
void RegisterKill (NPC npc)
 
int GetKillCount (NPC npc)
 
void SetKillCountDirectly (string persistentId, int killCount)
 
int GetKillCount (string persistentId)
 
void Save (BinaryWriter writer)
 
void Load (BinaryReader reader, int gameVersionSaveWasMadeOn)
 
void ValidateWorld (BinaryReader reader, int gameVersionSaveWasMadeOn)
 
void Reset ()
 
void OnPlayerJoining (int playerIndex)
 

Static Public Attributes

const int POSITIVE_KILL_COUNT_CAP = 999999999
 

Private Attributes

object _entryCreationLock
 
Dictionary< string, int > _killCountsByNpcId
 

Detailed Description

Definition at line 11 of file NPCKillsTracker.cs.


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