Interface IMyGasTank
Describes gas tank block (mods interface)
Inherited Members
Namespace: Sandbox.ModAPI
Assembly: Sandbox.Common.dll
Syntax
public interface IMyGasTank : IMyFunctionalBlock, IMyTerminalBlock, IMyCubeBlock, IMyEntity, IMyGasTank, IMyFunctionalBlock, IMyTerminalBlock, IMyCubeBlock, IMyEntity
Methods
ChangeFilledRatio(Double, Boolean)
Allows you to set the fill ratio of a gas tank
Declaration
void ChangeFilledRatio(double newFilledRatio, bool updateSync)
Parameters
Type | Name | Description |
---|---|---|
System.Double | newFilledRatio | New fill ratio (0 empty, 1 full) |
System.Boolean | updateSync | Sync ratio change to others |