Search Results for

    Show / Hide Table of Contents

    Class RegenerationValuesEventArgs

    Send the new regenerated amount per tick and the tick rate.

    Inheritance
    object
    System.EventArgs
    RegenerationValuesEventArgs
    Namespace: TetraCreations.ProgressBarSystem
    Assembly: cs.temp.dll.dll
    Syntax
    [Serializable]
    public class RegenerationValuesEventArgs : EventArgs

    Constructors

    RegenerationValuesEventArgs(float, float)

    Declaration
    public RegenerationValuesEventArgs(float regeneratedAmount, float tickRate)
    Parameters
    Type Name Description
    float regeneratedAmount
    float tickRate

    Properties

    RegeneratedAmount

    The amount added every tick to the Progress Bar value.

    Declaration
    public float RegeneratedAmount { get; }
    Property Value
    Type Description
    float

    RegeneratedAmountPerSecond

    The regenerated amount divided by the Tickrate to get the amount per second.

    Declaration
    public float RegeneratedAmountPerSecond { get; }
    Property Value
    Type Description
    float

    TickRate

    The time between each regeneration.

    Declaration
    public float TickRate { get; }
    Property Value
    Type Description
    float
    In This Article
    Back to top Tetra Creations documentation