Show / Hide Table of Contents

    Interface IGeneratorEntitySavedData

    Saved data for IGeneratorEntity.

    Inherited Members
    IBaseCollectorEntitySavedData.IsPurchased
    IBaseCollectorEntitySavedData.Buy()
    IBaseCollectorEntitySavedData.TimeStarted
    IBaseCollectorEntitySavedData.BeginProduction(Int64)
    ISavedData.TimeCreated
    ISavedData.TimeModified
    ISavedData.Load()
    ISavedData.Save()
    ISavedData.Delete()
    ISavedData.Reset()
    Namespace: IdleKit.Gameplay
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IGeneratorEntitySavedData : IBaseCollectorEntitySavedData, ISavedData, IInjectable

    Properties

    GeneratorUnit

    Returns the number of generator units purchased by the player.

    Declaration
    int GeneratorUnit { get; }
    Property Value
    Type Description
    Int32

    GeneratorUnitTargetHit

    Returns the number of IGeneratorUnitTargetData reached by the player.

    Declaration
    int GeneratorUnitTargetHit { get; }
    Property Value
    Type Description
    Int32

    IsAutomated

    Returns if the IGeneratorEntity has been Automate().

    Declaration
    bool IsAutomated { get; }
    Property Value
    Type Description
    Boolean

    Methods

    Ascend()

    Clean up the IGeneratorEntitySavedData due to ascension.

    Declaration
    void Ascend()

    Automate()

    Automate the IGeneratorEntity, this will set the IsAutomated to true.

    Declaration
    void Automate()

    IncrementGeneratorUnit(Int32)

    Increment the GeneratorUnit.

    Declaration
    void IncrementGeneratorUnit(int unitsToIncrease)
    Parameters
    Type Name Description
    Int32 unitsToIncrease

    The number of the GeneratorUnit to increase.

    SetGeneratorUnitTargetHit(Int32)

    Set the GeneratorUnitTargetHit.

    Declaration
    void SetGeneratorUnitTargetHit(int targetHit)
    Parameters
    Type Name Description
    Int32 targetHit

    The value to set the GeneratorUnitTargetHit to.

    Back to top Copyright © 2020 East Side Games Inc.