Class MetaProgressionHandler
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class MetaProgressionHandler : RetrievableSingleton<MetaProgressionHandler>
- Inheritance
-
MetaProgressionHandler
- Inherited Members
-
RetrievableSingleton<MetaProgressionHandler>.OnRemoved()
RetrievableSingleton<MetaProgressionHandler>.RemoveInstance()
RetrievableSingleton<MetaProgressionHandler>.Instance
- Extension Methods
-
Constructors
public MetaProgressionHandler()
Fields
Field Value
- int
public HashSet<int> unlockedHats
Field Value
- HashSet<int>
public HashSet<int> unlockedIslandUpgrades
Field Value
- HashSet<int>
Properties
public int MetaCoins { get; }
Property Value
- int
Methods
[ConsoleCommand]
public static void AddMetaCoins(int amount)
Parameters
amount
int
public static bool CanAffordPurchase(int amount)
Parameters
amount
int
Returns
- bool
[ConsoleCommand]
public static void ClearAllUnlockedHatsHats()
[ConsoleCommand]
public static void EquipHat(int hatIndex)
Parameters
hatIndex
int
public static int[] GetUnlockedHats()
Returns
- int[]
public static int[] GetUnlockedIslandUpgrades()
Returns
- int[]
public static void Init()
protected override void OnCreated()
public static void RemoveMetaCoins(int amount)
Parameters
amount
int
[ConsoleCommand]
public static void SetMetaCoins(int amount)
Parameters
amount
int
[ConsoleCommand]
public static void UnlockAllHats()
public static void UnlockHat(int hat)
Parameters
hat
int
public static void UnlockIslandUpgrade(IslandUnlock unlock)
Parameters
unlock
IslandUnlock
public void UpdateAndSave()