Class FixedShapePlayerLevelGoalLine
- Namespace
- Root
- Assembly
- SPZGameAssembly.dll
public class FixedShapePlayerLevelGoalLine : BasePlayerLevelGoalLine, IPlayerLevelGoalLine, IConversionRecipe, ILockedViaResearch
- Inheritance
-
objectFixedShapePlayerLevelGoalLine
- Implements
- Inherited Members
- Extension Methods
Constructors
FixedShapePlayerLevelGoalLine(PlayerLevelGoalId, IEnumerable<ResearchUpgradeId>, IEnumerable<ResearchMechanicId>, string, uint, int, string, IShapeIdManager)
public FixedShapePlayerLevelGoalLine(PlayerLevelGoalId id, IEnumerable<ResearchUpgradeId> requiredUpgrades, IEnumerable<ResearchMechanicId> requiredMechanics, string shape, uint startingAmount, int exponentialGrowthPercentPerLevel, string conversionShape, IShapeIdManager shapeIdManager)
Parameters
idPlayerLevelGoalIdrequiredUpgradesIEnumerable<ResearchUpgradeId>requiredMechanicsIEnumerable<ResearchMechanicId>shapestringstartingAmountuintexponentialGrowthPercentPerLevelintconversionShapestringshapeIdManagerIShapeIdManager
Properties
ShapeInputs
public IReadOnlyList<string> ShapeInputs { get; }
Property Value
- IReadOnlyList<string>
ShapeOutputs
public IReadOnlyList<string> ShapeOutputs { get; }
Property Value
- IReadOnlyList<string>
Methods
ComputeCosts(int)
protected override IEnumerable<IResearchCost> ComputeCosts(int level)
Parameters
levelint
Returns
- IEnumerable<IResearchCost>
TryGetConversionShape(out string)
public bool TryGetConversionShape(out string shapeHash)
Parameters
shapeHashstring
Returns
- bool