Interface IEconomyService
Assembly: cs.temp.dll.dll
Syntax
public interface IEconomyService : IService, IInjectable
Methods
GetAffordableUnitsToNextTarget(IGeneratorEntity, Boolean, IModifier[])
Declaration
[Obsolete("Deprecated in version 1.3. Use IGeneratorEntity.GetAffordableUnitsToNextTarget(bool applyModifiers, IModifier[] excludedModifiers = null) instead.", true)]
int GetAffordableUnitsToNextTarget(IGeneratorEntity generatorEntity, bool applyModifiers, IModifier[] excludedModifiers = null)
Parameters
Returns
GetAscensionPower(IStage, Boolean, Double, IModifier[])
Returns the ascension power a player has for a specific stage
. If
applyModifiers
is true, all IModifier that affect the value
will be applied. Ascension power can only be affected by IModifier.
Declaration
double GetAscensionPower(IStage stage, bool applyModifiers = true, double ascensionPower = 1, IModifier[] excludedModifiers = null)
Parameters
Returns
Examples
IUpgradeableCurrency
IStage
GetDuration(IBaseCollectorEntity)
Declaration
[Obsolete("Deprecated in version 1.3. Use IBaseCollectorEntity.GetDuration() instead.", true)]
long GetDuration(IBaseCollectorEntity baseCollectorEntity)
Parameters
Returns
GetDuration(IBaseCollectorEntity, Boolean, IModifier[])
Declaration
[Obsolete("Deprecated in version 1.3. Use IBaseCollectorEntity.GetDuration(bool applyModifiers, IModifier[] excludedModifiers = null) instead.", true)]
long GetDuration(IBaseCollectorEntity baseCollectorEntity, bool applyModifiers, IModifier[] excludedModifiers = null)
Parameters
Returns
GetIncrementGeneratorUnitCost(Int32, IGeneratorEntity, Boolean, IModifier[])
Declaration
[Obsolete("Deprecated in version 1.3. Use IGeneratorEntity.GetIncrementGeneratorUnitCost(int unitsToIncrease, bool applyModifiers, IModifier[] excludedModifiers = null) instead.", true)]
double GetIncrementGeneratorUnitCost(int unitsToIncrease, IGeneratorEntity generatorEntity, bool applyModifiers, IModifier[] excludedModifiers = null)
Parameters
Returns
GetMaxAffordableUnits(IGeneratorEntity, Boolean, Int32, IModifier[])
Declaration
[Obsolete("Deprecated in version 1.3. Use IGeneratorEntity.GetMaxAffordableUnits(bool applyModifiers, int maxCap = -1, IModifier[] excludedModifiers = null) instead.", true)]
int GetMaxAffordableUnits(IGeneratorEntity generatorEntity, bool applyModifiers, int maxCap = -1, IModifier[] excludedModifiers = null)
Parameters
Returns
GetPayout(IBaseCollectorEntity)
Declaration
[Obsolete("Deprecated in version 1.3. Use IBaseCollectorEntity.GetPayout() instead.", true)]
double GetPayout(IBaseCollectorEntity baseCollectorEntity)
Parameters
Returns
GetPayout(IBaseCollectorEntity, Boolean, IModifier[])
Declaration
[Obsolete("Deprecated in version 1.3. Use IBaseCollectorEntity.GetPayout(bool applyModifiers, IModifier[] excludedModifiers = null) instead.", true)]
double GetPayout(IBaseCollectorEntity baseCollectorEntity, bool applyModifiers, IModifier[] excludedModifiers = null)
Parameters
Returns