Click or drag to resize
ITerminalPropertyTValue Interface

[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
Syntax
C#
public interface ITerminalProperty<TValue> : ITerminalProperty

Type Parameters

TValue
Property type (TypeName)

The ITerminalPropertyTValue type exposes the following members.

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
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
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
See Also