Show / Hide Table of Contents

    Interface IBaseCollectorEntitySavedData

    The ISavedData associated with a given IBaseCollectorEntity.

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

    Properties

    IsPurchased

    Returns if the IBaseCollectorEntity has been purchased Buy().

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

    TimeStarted

    Returns the start time for the production in milliseconds.

    Declaration
    long TimeStarted { get; }
    Property Value
    Type Description
    Int64

    Methods

    BeginProduction(Int64)

    Set the timestamp for the start of production.

    Declaration
    void BeginProduction(long timestamp)
    Parameters
    Type Name Description
    Int64 timestamp

    Buy()

    Purchased the IBaseCollectorEntity, this will set the IsPurchased to true.

    Declaration
    void Buy()
    Back to top Copyright © 2020 East Side Games Inc.