tModLoader v2024.09
A mod to make and play Terraria mods
BestiaryUnlocksTracker Class Reference

Inherits IPersistentPerWorldContent, and IOnPlayerJoining.

Public Member Functions

void FillBasedOnVersionBefore210 ()
 
void Load (BinaryReader reader, int gameVersionSaveWasMadeOn)
 
void OnPlayerJoining (int playerIndex)
 
void Reset ()
 
void Save (BinaryWriter writer)
 
void ValidateWorld (BinaryReader reader, int gameVersionSaveWasMadeOn)
 
void Load (BinaryReader reader, int gameVersionSaveWasMadeOn)
 
void Reset ()
 
void Save (BinaryWriter writer)
 
void ValidateWorld (BinaryReader reader, int gameVersionSaveWasMadeOn)
 
void OnPlayerJoining (int playerIndex)
 

Public Attributes

NPCWasChatWithTracker Chats = new NPCWasChatWithTracker()
 
NPCKillsTracker Kills = new NPCKillsTracker()
 
NPCWasNearPlayerTracker Sights = new NPCWasNearPlayerTracker()
 

Member Function Documentation

◆ Load()

void BestiaryUnlocksTracker.Load ( BinaryReader  reader,
int  gameVersionSaveWasMadeOn 
)

◆ OnPlayerJoining()

void BestiaryUnlocksTracker.OnPlayerJoining ( int  playerIndex)

Implements IOnPlayerJoining.

◆ Reset()

void BestiaryUnlocksTracker.Reset ( )

◆ Save()

void BestiaryUnlocksTracker.Save ( BinaryWriter  writer)

◆ ValidateWorld()

void BestiaryUnlocksTracker.ValidateWorld ( BinaryReader  reader,
int  gameVersionSaveWasMadeOn 
)