Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

Sandbox.ModAPI.Interfaces.TerminalPropertyExtensions

Malware edited this page Dec 25, 2018 · 50 revisions

IndexNamespace Index

TerminalPropertyExtensions Class

public abstract sealed class TerminalPropertyExtensions

Terminal block extension for property access

Namespace: Sandbox.ModAPI.Interfaces
Assembly: Sandbox.Common.dll

Methods

Member Description
As(ITerminalProperty)
Cast(ITerminalProperty)
Is(ITerminalProperty)
AsFloat(ITerminalProperty) Property type cast
AsColor(ITerminalProperty) Property type cast
AsBool(ITerminalProperty) Property type cast
GetValueFloat(IMyTerminalBlock, string) Returns value of specified property
SetValueFloat(IMyTerminalBlock, string, float) Set float value of property
GetValueBool(IMyTerminalBlock, string) Returns value of specified property
SetValueBool(IMyTerminalBlock, string, bool) Set bool value of property
GetValueColor(IMyTerminalBlock, string) Returns value of specified property
SetValueColor(IMyTerminalBlock, string, Color) Set bool value of property
GetValue(IMyTerminalBlock, string)
GetDefaultValue(IMyTerminalBlock, string)
GetMininum(IMyTerminalBlock, string) Obsolete: Use GetMinimum instead
GetMinimum(IMyTerminalBlock, string)
GetMaximum(IMyTerminalBlock, string)
SetValue(IMyTerminalBlock, string, T)

Clone this wiki locally