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

Sandbox.ModAPI.Interfaces.TerminalPropertyExtensions

Morten Aune Lyrstad edited this page Apr 16, 2022 · 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
static ITerminalProperty As(this ITerminalProperty)
static ITerminalProperty AsBool(this ITerminalProperty) Property type cast
static ITerminalProperty AsColor(this ITerminalProperty) Property type cast
static ITerminalProperty AsFloat(this ITerminalProperty) Property type cast
static ITerminalProperty Cast(this ITerminalProperty)
static T GetDefaultValue(this IMyTerminalBlock, string)
static T GetMaximum(this IMyTerminalBlock, string)
static T GetMinimum(this IMyTerminalBlock, string)
static T GetMininum(this IMyTerminalBlock, string) Obsolete: Use GetMinimum instead
static T GetValue(this IMyTerminalBlock, string)
static bool GetValueBool(this IMyTerminalBlock, string) Returns value of specified property
static Color GetValueColor(this IMyTerminalBlock, string) Returns value of specified property
static float GetValueFloat(this IMyTerminalBlock, string) Returns value of specified property
static bool Is(this ITerminalProperty)
static void SetValue(this IMyTerminalBlock, string, T)
static void SetValueBool(this IMyTerminalBlock, string, bool) Set bool value of property
static void SetValueColor(this IMyTerminalBlock, string, Color) Set bool value of property
static void SetValueFloat(this IMyTerminalBlock, string, float) Set float value of property

Clone this wiki locally