Show / Hide Table of Contents

    Interface IModifier

    An Entity that can modify values on the other Entities, specifically IModifiables. It is generally paired with IUpgradeable in order to ramp up modifiers as level increases. See IModifierDataCollection. See IModifiable. See IModifiableData. See IModifierService.

    Namespace: IdleKit.Gameplay
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IModifier

    Properties

    CanBeApplied

    Whether or not this IModifier can be apply it's IModifierData.

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

    ModifierDataCollection

    A collection of IModifierData, where each data represents a different target or way this IModifier will alter values.

    Declaration
    IModifierDataCollection ModifierDataCollection { get; }
    Property Value
    Type Description
    IModifierDataCollection

    ModifierDataIndex

    Get the index of the IModifierData.amounts to apply.

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

    ModifierId

    Generally this is the static data id of this IModifier.

    Declaration
    string ModifierId { get; }
    Property Value
    Type Description
    String
    Back to top Copyright © 2020 East Side Games Inc.