Table of Contents

Class BlueprintCurrencyManager

Namespace
Root
Assembly
SPZGameAssembly.dll
public class BlueprintCurrencyManager
Inheritance
object
BlueprintCurrencyManager
Extension Methods

Constructors

BlueprintCurrencyManager(SerializedData, GameMode, ResearchShapeStorage, IShapeIdManager, ILogger)

public BlueprintCurrencyManager(BlueprintCurrencyManager.SerializedData data, GameMode mode, ResearchShapeStorage shapeStorage, IShapeIdManager shapeIdManager, ILogger logger)

Parameters

data BlueprintCurrencyManager.SerializedData
mode GameMode
shapeStorage ResearchShapeStorage
shapeIdManager IShapeIdManager
logger ILogger

Properties

BlueprintCurrency

public BlueprintCurrency BlueprintCurrency { get; }

Property Value

BlueprintCurrency

OnBlueprintCurrencyChanged

public IEvent<BlueprintCurrency> OnBlueprintCurrencyChanged { get; }

Property Value

IEvent<BlueprintCurrency>

TotalAmountSpent

public BlueprintCurrency TotalAmountSpent { get; }

Property Value

BlueprintCurrency

Methods

AddBlueprintCurrency(BlueprintCurrency)

public void AddBlueprintCurrency(BlueprintCurrency amount)

Parameters

amount BlueprintCurrency

CanAfford(BlueprintCurrency)

public bool CanAfford(BlueprintCurrency amount)

Parameters

amount BlueprintCurrency

Returns

bool

Dispose()

public void Dispose()

RegisterCommands(IDebugConsole)

public void RegisterCommands(IDebugConsole console)

Parameters

console IDebugConsole

Serialize()

public BlueprintCurrencyManager.SerializedData Serialize()

Returns

BlueprintCurrencyManager.SerializedData

SetBlueprintCurrency(BlueprintCurrency)

public void SetBlueprintCurrency(BlueprintCurrency amount)

Parameters

amount BlueprintCurrency

TryTakeBlueprintCurrency(BlueprintCurrency)

public bool TryTakeBlueprintCurrency(BlueprintCurrency amount)

Parameters

amount BlueprintCurrency

Returns

bool