tModLoader v2024.11
A mod to make and play Terraria mods
CreativeUnlocksTracker Class Reference

Inherits IPersistentPerWorldContent, and IOnPlayerJoining.

Public Member Functions

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

ItemsSacrificedUnlocksTracker ItemSacrifices = new ItemsSacrificedUnlocksTracker()
 

Member Function Documentation

◆ Load()

void CreativeUnlocksTracker.Load ( BinaryReader  reader,
int  gameVersionSaveWasMadeOn 
)

◆ OnPlayerJoining()

void CreativeUnlocksTracker.OnPlayerJoining ( int  playerIndex)

Implements IOnPlayerJoining.

◆ Reset()

void CreativeUnlocksTracker.Reset ( )

◆ Save()

void CreativeUnlocksTracker.Save ( BinaryWriter  writer)

◆ ValidateWorld()

void CreativeUnlocksTracker.ValidateWorld ( BinaryReader  reader,
int  gameVersionSaveWasMadeOn 
)