| IMyGasTank Interface | 
[This is preliminary documentation and is subject to change.]
Namespace: Sandbox.ModAPI.Ingame
 Syntax
SyntaxThe IMyGasTank type exposes the following members.
 Methods
Methods| Name | Description | |
|---|---|---|
|  | GetActions | (Inherited from IMyTerminalBlock.) | 
|  | GetActionWithName | (Inherited from IMyTerminalBlock.) | 
|  | GetInventory | (Inherited from IMyEntity.) | 
|  | GetInventory(Int32) | (Inherited from IMyEntity.) | 
|  | GetOwnerFactionTag | (Inherited from IMyCubeBlock.) | 
|  | GetPlayerRelationToOwner | Obsolete. (Inherited from IMyCubeBlock.) | 
|  | GetPosition | (Inherited from IMyEntity.) | 
|  | GetProperties | (Inherited from IMyTerminalBlock.) | 
|  | GetProperty | (Inherited from IMyTerminalBlock.) | 
|  | GetUserRelationToOwner | (Inherited from IMyCubeBlock.) | 
|  | HasLocalPlayerAccess | (Inherited from IMyTerminalBlock.) | 
|  | HasPlayerAccess | (Inherited from IMyTerminalBlock.) | 
|  | RefillBottles | 
            Refills any stored storage bottles.
             | 
|  | RequestEnable | Obsolete. (Inherited from IMyFunctionalBlock.) | 
|  | SearchActionsOfName | (Inherited from IMyTerminalBlock.) | 
|  | SetCustomName(String) | Obsolete. (Inherited from IMyTerminalBlock.) | 
|  | SetCustomName(StringBuilder) | Obsolete. (Inherited from IMyTerminalBlock.) | 
|  | UpdateIsWorking | Obsolete. (Inherited from IMyCubeBlock.) | 
|  | UpdateVisual | Obsolete. (Inherited from IMyCubeBlock.) | 
 Extension Methods
Extension Methods Properties
Properties| Name | Description | |
|---|---|---|
|  | AutoRefillBottles | 
            Gets or sets whether storage bottles will be filled automatically when placed within
            this tank.
             | 
|  | BlockDefinition | (Inherited from IMyCubeBlock.) | 
|  | Capacity | 
            Gets the gas capacity of this tank.
             | 
|  | CheckConnectionAllowed | (Inherited from IMyCubeBlock.) | 
|  | Components | (Inherited from IMyEntity.) | 
|  | CubeGrid | (Inherited from IMyCubeBlock.) | 
|  | CustomData | 
            Gets or sets the Custom Data string.
            NOTE: Only use this for user input. For storing large mod configs, create your own MyModStorageComponent
            (Inherited from IMyTerminalBlock.) | 
|  | CustomInfo | (Inherited from IMyTerminalBlock.) | 
|  | CustomName | (Inherited from IMyTerminalBlock.) | 
|  | CustomNameWithFaction | (Inherited from IMyTerminalBlock.) | 
|  | DefinitionDisplayNameText | (Inherited from IMyCubeBlock.) | 
|  | DetailedInfo | (Inherited from IMyTerminalBlock.) | 
|  | DisassembleRatio | (Inherited from IMyCubeBlock.) | 
|  | DisplayName | (Inherited from IMyEntity.) | 
|  | DisplayNameText | (Inherited from IMyCubeBlock.) | 
|  | Enabled | (Inherited from IMyFunctionalBlock.) | 
|  | EntityId | (Inherited from IMyEntity.) | 
|  | FilledRatio | 
            Gets the current fill level of this tank as a value between 0 (empty) and 1 (full).
             | 
|  | HasInventory | (Inherited from IMyEntity.) | 
|  | InventoryCount | (Inherited from IMyEntity.) | 
|  | IsBeingHacked | (Inherited from IMyCubeBlock.) | 
|  | IsFunctional | (Inherited from IMyCubeBlock.) | 
|  | IsWorking | (Inherited from IMyCubeBlock.) | 
|  | Mass | (Inherited from IMyCubeBlock.) | 
|  | Max | (Inherited from IMyCubeBlock.) | 
|  | Min | (Inherited from IMyCubeBlock.) | 
|  | Name | (Inherited from IMyEntity.) | 
|  | NumberInGrid | (Inherited from IMyCubeBlock.) | 
|  | Orientation | (Inherited from IMyCubeBlock.) | 
|  | OwnerId | (Inherited from IMyCubeBlock.) | 
|  | Position | (Inherited from IMyCubeBlock.) | 
|  | ShowInTerminal | (Inherited from IMyTerminalBlock.) | 
|  | ShowInToolbarConfig | (Inherited from IMyTerminalBlock.) | 
|  | ShowOnHUD | (Inherited from IMyTerminalBlock.) | 
|  | Stockpile | 
            Gets or sets the stockpiling option for this gas tank. When stockpile is on, the
            tank will only allow itself to be filled, it will not release any gas.
             | 
|  | WorldAABB | (Inherited from IMyEntity.) | 
|  | WorldAABBHr | (Inherited from IMyEntity.) | 
|  | WorldMatrix | (Inherited from IMyEntity.) | 
|  | WorldVolume | (Inherited from IMyEntity.) | 
|  | WorldVolumeHr | (Inherited from IMyEntity.) | 
 See Also
See Also