tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.GameContent.Creative.ItemsSacrificedUnlocksTracker Class Reference

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

Public Member Functions

int GetSacrificeCount (int itemId)
 
void Load (BinaryReader reader, int gameVersionSaveWasMadeOn)
 
void MarkContentsDirty ()
 
void OnPlayerJoining (int playerIndex)
 
void RegisterItemSacrifice (int itemId, int amount)
 
void Reset ()
 
void Save (BinaryWriter writer)
 
void SetSacrificeCountDirectly (string persistentId, int sacrificeCount)
 
void ValidateWorld (BinaryReader reader, int gameVersionSaveWasMadeOn)
 

Public Attributes

readonly Dictionary< int, int > SacrificesCountByItemIdCache
 

Static Public Attributes

const int POSITIVE_SACRIFICE_COUNT_CAP = 9999
 

Properties

int LastEditId [get]