Interface IMyGridGasSystem
ModAPI interface giving access to grid-group gas system
Assembly: VRage.Game.dll
Syntax
public interface IMyGridGasSystem
Properties
ForcePressurize
Specifies if the grid should be able to pressurize without air vents present.
Declaration
bool ForcePressurize { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsProcessingData
Returns true if the grid is currently recalculating airtightness (It's multithreaded)
Declaration
bool IsProcessingData { get; }
Property Value
Type |
Description |
System.Boolean |
|
OnProcessingDataComplete
Called when ProcessingData becomes false
Declaration
Action OnProcessingDataComplete { get; set; }
Property Value
Type |
Description |
System.Action |
|
OnProcessingDataStart
Called when ProcessingData becomes true
Declaration
Action OnProcessingDataStart { get; set; }
Property Value
Type |
Description |
System.Action |
|
Methods
GetOxygenBlock(Vector3D)
Returns an oxygen block at the position if there is one
Declaration
IMyOxygenBlock GetOxygenBlock(Vector3D worldPosition)
Parameters
Type |
Name |
Description |
Vector3D |
worldPosition |
|
Returns
GetOxygenRoomForCubeGridPosition(ref Vector3I)
Returns an oxygen room at the position if there is one
Declaration
IMyOxygenRoom GetOxygenRoomForCubeGridPosition(ref Vector3I gridPosition)
Parameters
Type |
Name |
Description |
Vector3I |
gridPosition |
|
Returns
GetRooms(List<IMyOxygenRoom>)
Gets all oxygen rooms on the grid
Declaration
bool GetRooms(List<IMyOxygenRoom> list)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<IMyOxygenRoom> |
list |
|
Returns
Type |
Description |
System.Boolean |
|