Show / Hide Table of Contents

    Interface ISkill

    Interface for skills in the game.

    Namespace: Fibula.Mechanics.Contracts.Abstractions
    Assembly: Fibula.Mechanics.Contracts.dll
    Syntax
    public interface ISkill

    Properties

    | Improve this Doc View Source

    BaseTargetIncrease

    Gets this skill's target base increase level over level.

    Declaration
    double BaseTargetIncrease { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    Count

    Gets this skill's current count.

    Declaration
    double Count { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    DefaultLevel

    Gets this skill's default level.

    Declaration
    uint DefaultLevel { get; }
    Property Value
    Type Description
    System.UInt32
    | Improve this Doc View Source

    Level

    Gets this skill's level.

    Declaration
    uint Level { get; }
    Property Value
    Type Description
    System.UInt32
    | Improve this Doc View Source

    MaxLevel

    Gets this skill's maximum level.

    Declaration
    uint MaxLevel { get; }
    Property Value
    Type Description
    System.UInt32
    | Improve this Doc View Source

    Percent

    Gets the current percentual value between current and target counts this skill.

    Declaration
    byte Percent { get; }
    Property Value
    Type Description
    System.Byte
    | Improve this Doc View Source

    Rate

    Gets this skill's rate of target count increase.

    Declaration
    double Rate { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    StartingCount

    Gets the count at which the current level starts.

    Declaration
    double StartingCount { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    TargetCount

    Gets this skill's target count.

    Declaration
    double TargetCount { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    Type

    Gets this skill's type.

    Declaration
    SkillType Type { get; }
    Property Value
    Type Description
    SkillType

    Methods

    | Improve this Doc View Source

    IncreaseCounter(Double)

    Increases this skill's counter.

    Declaration
    void IncreaseCounter(double value)
    Parameters
    Type Name Description
    System.Double value

    The amount by which to increase this skills counter.

    Events

    | Improve this Doc View Source

    Changed

    Event triggered when this skill changes.

    Declaration
    event OnSkillChanged Changed
    Event Type
    Type Description
    OnSkillChanged

    Extension Methods

    ObjectExtensions.YieldSingleItem<T>(T)
    ObjectExtensions.GetPropertyValue(Object, String)
    Validate.ThrowIfNull(Object, String)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018-2020 | The Fibula Project
    Generated using DocFX | Jose L. Nuñez de Caceres et al.