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

Index

TerminalPropertyExtensions Class

private public abstract sealed TerminalPropertyExtensions
```csharp

**Namespace:** [Sandbox.ModAPI.Interfaces](Sandbox.ModAPI.Interfaces)  
**Assembly:** Sandbox.Common.dll

### Example

### Remarks

###### Methods

|Member|Description|
|---|---|
|[As(ITerminalProperty)](Sandbox.ModAPI.Interfaces.TerminalPropertyExtensions.As)||
|[Cast(ITerminalProperty)](Sandbox.ModAPI.Interfaces.TerminalPropertyExtensions.Cast)||
|[Is(ITerminalProperty)](Sandbox.ModAPI.Interfaces.TerminalPropertyExtensions.Is)||
|[AsFloat(ITerminalProperty)](Sandbox.ModAPI.Interfaces.TerminalPropertyExtensions.AsFloat)|Property type cast|
|[AsColor(ITerminalProperty)](Sandbox.ModAPI.Interfaces.TerminalPropertyExtensions.AsColor)|Property type cast|
|[AsBool(ITerminalProperty)](Sandbox.ModAPI.Interfaces.TerminalPropertyExtensions.AsBool)|Property type cast|
|[GetValueFloat(IMyTerminalBlock, string)](Sandbox.ModAPI.Interfaces.TerminalPropertyExtensions.GetValueFloat)|Returns value of specified property|
|[SetValueFloat(IMyTerminalBlock, string, float)](Sandbox.ModAPI.Interfaces.TerminalPropertyExtensions.SetValueFloat)|Set float value of property|
|[GetValueBool(IMyTerminalBlock, string)](Sandbox.ModAPI.Interfaces.TerminalPropertyExtensions.GetValueBool)|Returns value of specified property|
|[SetValueBool(IMyTerminalBlock, string, bool)](Sandbox.ModAPI.Interfaces.TerminalPropertyExtensions.SetValueBool)|Set bool value of property|
|[GetValueColor(IMyTerminalBlock, string)](Sandbox.ModAPI.Interfaces.TerminalPropertyExtensions.GetValueColor)|Returns value of specified property|
|[SetValueColor(IMyTerminalBlock, string, Color)](Sandbox.ModAPI.Interfaces.TerminalPropertyExtensions.SetValueColor)|Set bool value of property|
|[GetValue(IMyTerminalBlock, string)](Sandbox.ModAPI.Interfaces.TerminalPropertyExtensions.GetValue)||
|[GetDefaultValue(IMyTerminalBlock, string)](Sandbox.ModAPI.Interfaces.TerminalPropertyExtensions.GetDefaultValue)||
|[GetMininum(IMyTerminalBlock, string)](Sandbox.ModAPI.Interfaces.TerminalPropertyExtensions.GetMininum)|_**Obsolete:** Use GetMinimum instead_|
|[GetMinimum(IMyTerminalBlock, string)](Sandbox.ModAPI.Interfaces.TerminalPropertyExtensions.GetMinimum)||
|[GetMaximum(IMyTerminalBlock, string)](Sandbox.ModAPI.Interfaces.TerminalPropertyExtensions.GetMaximum)||
|[SetValue(IMyTerminalBlock, string, T)](Sandbox.ModAPI.Interfaces.TerminalPropertyExtensions.SetValue)||

Clone this wiki locally