Table of Contents

Class MetaProgressionHandler

Namespace
DefaultNamespace
Assembly
Assembly-CSharp.dll
public class MetaProgressionHandler : RetrievableSingleton<MetaProgressionHandler>
Inheritance
RetrievableSingleton<MetaProgressionHandler>
MetaProgressionHandler
Inherited Members
RetrievableSingleton<MetaProgressionHandler>.OnRemoved()
RetrievableSingleton<MetaProgressionHandler>.RemoveInstance()
RetrievableSingleton<MetaProgressionHandler>.Instance
Extension Methods

Constructors

MetaProgressionHandler()

public MetaProgressionHandler()

Fields

metaCoins

public int metaCoins

Field Value

int

unlockedHats

public HashSet<int> unlockedHats

Field Value

HashSet<int>

unlockedIslandUpgrades

public HashSet<int> unlockedIslandUpgrades

Field Value

HashSet<int>

Properties

MetaCoins

public int MetaCoins { get; }

Property Value

int

Methods

AddMetaCoins(int)

[ConsoleCommand]
public static void AddMetaCoins(int amount)

Parameters

amount int

CanAffordPurchase(int)

public static bool CanAffordPurchase(int amount)

Parameters

amount int

Returns

bool

ClearAllUnlockedHatsHats()

[ConsoleCommand]
public static void ClearAllUnlockedHatsHats()

EquipHat(int)

[ConsoleCommand]
public static void EquipHat(int hatIndex)

Parameters

hatIndex int

GetUnlockedHats()

public static int[] GetUnlockedHats()

Returns

int[]

GetUnlockedIslandUpgrades()

public static int[] GetUnlockedIslandUpgrades()

Returns

int[]

Init()

public static void Init()

Initialize()

public void Initialize()

OnCreated()

protected override void OnCreated()

RemoveMetaCoins(int)

public static void RemoveMetaCoins(int amount)

Parameters

amount int

SetMetaCoins(int)

[ConsoleCommand]
public static void SetMetaCoins(int amount)

Parameters

amount int

UnlockAllHats()

[ConsoleCommand]
public static void UnlockAllHats()

UnlockHat(int)

public static void UnlockHat(int hat)

Parameters

hat int

UnlockIslandUpgrade(IslandUnlock)

public static void UnlockIslandUpgrade(IslandUnlock unlock)

Parameters

unlock IslandUnlock

Update()

public void Update()

UpdateAndSave()

public void UpdateAndSave()