-
Notifications
You must be signed in to change notification settings - Fork 123
Sandbox.ModAPI.Interfaces.TerminalPropertyExtensions
← Index ← Namespace Index
public abstract sealed class TerminalPropertyExtensionsTerminal block extension for property access
Namespace: Sandbox.ModAPI.Interfaces
Assembly: Sandbox.Common.dll
static ITerminalProperty<TValue> As<TValue>(this ITerminalProperty)
static ITerminalProperty<bool> AsBool(this ITerminalProperty)
Property type cast
static ITerminalProperty<Color> AsColor(this ITerminalProperty)
Property type cast
static ITerminalProperty<float> AsFloat(this ITerminalProperty)
Property type cast
static ITerminalProperty<TValue> Cast<TValue>(this ITerminalProperty)
static T GetDefaultValue<T>(this IMyTerminalBlock, string)
static T GetMaximum<T>(this IMyTerminalBlock, string)
static T GetMinimum<T>(this IMyTerminalBlock, string)
static T GetMininum<T>(this IMyTerminalBlock, string)
Obsolete: Use GetMinimum instead
static T GetValue<T>(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<TValue>(this ITerminalProperty)
static void SetValue<T>(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
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!