Inherits Terraria.GameContent.IPersistentPerWorldContent, and Terraria.GameContent.IOnPlayerJoining.
|
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) |
|
void | Load (BinaryReader reader, int gameVersionSaveWasMadeOn) |
|
void | Reset () |
|
void | Save (BinaryWriter writer) |
|
void | ValidateWorld (BinaryReader reader, int gameVersionSaveWasMadeOn) |
|
void | OnPlayerJoining (int playerIndex) |
|
|
readonly Dictionary< int, int > | SacrificesCountByItemIdCache |
|
|
const int | POSITIVE_SACRIFICE_COUNT_CAP = 9999 |
|
◆ Load()
void Terraria.GameContent.Creative.ItemsSacrificedUnlocksTracker.Load |
( |
BinaryReader |
reader, |
|
|
int |
gameVersionSaveWasMadeOn |
|
) |
| |
◆ OnPlayerJoining()
void Terraria.GameContent.Creative.ItemsSacrificedUnlocksTracker.OnPlayerJoining |
( |
int |
playerIndex | ) |
|
◆ Reset()
void Terraria.GameContent.Creative.ItemsSacrificedUnlocksTracker.Reset |
( |
| ) |
|
◆ Save()
void Terraria.GameContent.Creative.ItemsSacrificedUnlocksTracker.Save |
( |
BinaryWriter |
writer | ) |
|
◆ ValidateWorld()
void Terraria.GameContent.Creative.ItemsSacrificedUnlocksTracker.ValidateWorld |
( |
BinaryReader |
reader, |
|
|
int |
gameVersionSaveWasMadeOn |
|
) |
| |