Assembly: VRage.Game.dll

public interface IMyOxygenBlock

ModAPI describing block that can work with gas in airtight rooms (AirVent)

Properties

Member Description
OxygenChangeTime Get time in milliseconds when last oxygen level was changed.
PreviousOxygenAmount Gets previous oxygen level. Oxygen level is updated each 100 frames.
Room Gets oxygen room to which this block belongs to.

Methods

Member Description
OxygenLevel(float) Gets oxygen level in current oxygen room