Class TerminalValue<TValue>
- Namespace
- RichHudFramework.UI.Client
- Assembly
- RichHudClient.dll
Abstract base class for terminal controls that are associated with a specific data value (e.g., sliders, checkboxes) in the RichHudTerminal.
public abstract class TerminalValue<TValue> : TerminalControlBase
Type Parameters
TValueThe type of the value associated with this control.
- Inheritance
-
TerminalValue<TValue>
- Derived
- Inherited Members
Constructors
TerminalValue(MenuControls)
public TerminalValue(MenuControls controlEnum)
Parameters
controlEnumMenuControls
Properties
CustomValueGetter
An optional delegate used to periodically retrieve the value from an external source, keeping the control in sync.
public Func<TValue> CustomValueGetter { get; set; }
Property Value
- Func<TValue>
Value
The current value associated with the control.
public virtual TValue Value { get; set; }
Property Value
- TValue