ITerminalPropertyTValue Interface |
[This is preliminary documentation and is subject to change.]
Namespace: Sandbox.ModAPI.Interfaces
public interface ITerminalProperty<TValue> : ITerminalProperty
The ITerminalPropertyTValue type exposes the following members.
Name | Description | |
---|---|---|
Id |
Property Id (value name)
(Inherited from ITerminalProperty.) | |
TypeName | (Inherited from ITerminalProperty.) |
Name | Description | |
---|---|---|
GetDefaultValue |
Default value of property (if value is not set, or value from block definition)
| |
GetMaximum |
Maximum value of property (value from block definition)
| |
GetMinimum |
Minimum value of property (value from block definition)
| |
GetMininum |
Minimum value of property (value from block definition) - this function is obsolete, because it contains typo in name, use [!:GetMinimum(Sandbox.ModAPI.Ingame.IMyCubeBlock)] | |
GetValue |
Retrieve property value
| |
SetValue |
Set property value
|
Name | Description | |
---|---|---|
AsTValue |
Property type cast
(Defined by TerminalPropertyExtensions.) | |
AsBool |
Property type cast
(Defined by TerminalPropertyExtensions.) | |
AsColor |
Property type cast
(Defined by TerminalPropertyExtensions.) | |
AsFloat |
Property type cast
(Defined by TerminalPropertyExtensions.) | |
CastTValue |
Property type cast
(Defined by TerminalPropertyExtensions.) | |
IsTValue |
Check property type
(Defined by TerminalPropertyExtensions.) |