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

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

Terminal block property access

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

Type Parameters

TValue
Property type (TypeName)

The ITerminalPropertyTValue type exposes the following members.

Methods
  NameDescription
Public methodGetDefaultValue
Default value of property (if value is not set, or value from block definition)
Public methodGetMaximum
Maximum value of property (value from block definition)
Public methodGetMinimum
Minimum value of property (value from block definition)
Public methodGetMininum Obsolete.
Minimum value of property (value from block definition) - this function is obsolete, because it contains typo in name, use [!:GetMinimum(Sandbox.ModAPI.Ingame.IMyCubeBlock)]
Public methodGetValue
Retrieve property value
Public methodSetValue
Set property value
Top
Extension Methods
Properties
  NameDescription
Public propertyId
Property Id (value name)
(Inherited from ITerminalProperty.)
Public propertyTypeName
Property type (bool - Boolean, float - Single, color - Color)
(Inherited from ITerminalProperty.)
Top
See Also