Table of Contents

Class BoundedValue

Namespace
ElectricDrill.SoapRpgFramework.Utils
Assembly
com.electricdrill.soap-rpg-framework.Runtime.dll

Abstract base class for values that can be bounded by minimum and maximum limits. Provides functionality to define optional min/max constraints and clamp values within those bounds.

public abstract class BoundedValue : ScriptableObject
Inheritance
object
BoundedValue
Derived

Properties

HasMaxValue

Gets or sets whether this value has a maximum limit.

public bool HasMaxValue { get; }

Property Value

bool

HasMinValue

Gets or sets whether this value has a minimum limit.

public bool HasMinValue { get; }

Property Value

bool

MaxValue

Gets or sets the maximum allowed value when HasMaxValue is true.

public long MaxValue { get; }

Property Value

long

MinValue

Gets or sets the minimum allowed value when HasMinValue is true.

public int MinValue { get; }

Property Value

int