Click or drag to resize
IMyTerminalValueControlTValue Interface
v01.180.0 (Beta)

[This is preliminary documentation and is subject to change.]

This is a value control interface that a few controls implement. When a value changes, the Setter action is performed. When a value is queried the Getter action is performed.

Namespace: Sandbox.ModAPI.Interfaces.Terminal
Assembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface IMyTerminalValueControl<TValue> : ITerminalProperty

Type Parameters

TValue

The IMyTerminalValueControlTValue type exposes the following members.

Extension Methods
Properties
  NameDescription
Public propertyGetter
This is triggered when the value of the control is required.
Public propertyId
Property Id (value name)
(Inherited from ITerminalProperty.)
Public propertySetter
This is triggered when the value of the control is set by the user. Depending on the control, this may be called a lot.
Public propertyTypeName
Property type (bool - Boolean, float - Single, color - Color)
(Inherited from ITerminalProperty.)
Top
See Also