Show / Hide Table of Contents

    Interface IRarityData

    This class currently acts as a special ITagData that can be identified by its type. For example, a RarityData is treated as a ITagData where only one can be applied to a single ICurrency. This is opposed to ICurrency tags where a single ICurrency can hold many ITagDatas. Them being separate types is also helpful for allowing the GuidReferenceAttribute control which of the two types can show up in which dropdowns in the Unity Inspector.

    Namespace: IdleKit.Gameplay
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IRarityData : ITagData, IData

    Properties

    DefaultExchangeValue

    The default value associated with the Rarity. Can be used by other entities when implementing GetExchangeValue()

    Declaration
    double DefaultExchangeValue { get; }
    Property Value
    Type Description
    Double

    DefaultRampingIncrement

    The default ramping increment for cost associated with the Rarity. Can be used by IStoreUpgradeableCurrencyCollection in determining the cost of the IUpgradeableCurrency available for purchase.

    Declaration
    double DefaultRampingIncrement { get; }
    Property Value
    Type Description
    Double
    Back to top Copyright © 2020 East Side Games Inc.