terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Terraria.GameContent.Creative.ItemsSacrificedUnlocksTracker Class Reference
+ Inheritance diagram for Terraria.GameContent.Creative.ItemsSacrificedUnlocksTracker:
+ Collaboration diagram for Terraria.GameContent.Creative.ItemsSacrificedUnlocksTracker:

Public Member Functions

 ItemsSacrificedUnlocksTracker ()
 
int GetSacrificeCount (int itemId)
 
void FillListOfItemsThatCanBeObtainedInfinitely (List< int > toObtainInfinitely)
 
bool TryGetSacrificeNumbers (int itemId, out int amountWeHave, out int amountNeededTotal)
 
void RegisterItemSacrifice (int itemId, int amount)
 
void SetSacrificeCountDirectly (string persistentId, int sacrificeCount)
 
void Save (BinaryWriter writer)
 
void Load (BinaryReader reader, int gameVersionSaveWasMadeOn)
 
void ValidateWorld (BinaryReader reader, int gameVersionSaveWasMadeOn)
 
void Reset ()
 
void OnPlayerJoining (int playerIndex)
 
void MarkContentsDirty ()
 

Public Attributes

Dictionary< int, int > SacrificesCountByItemIdCache
 

Static Public Attributes

const int POSITIVE_SACRIFICE_COUNT_CAP = 9999
 

Properties

int LastEditId [get, set, private set]
 

Private Attributes

Dictionary< string, int > _sacrificeCountByItemPersistentId
 
int< LastEditIdk__BackingField
 

Detailed Description

Definition at line 13 of file ItemsSacrificedUnlocksTracker.cs.


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