This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 126
Sandbox.ModAPI.Ingame.IMyOxygenTank
Malware edited this page Dec 21, 2018
·
29 revisions
← Index
#IMyOxygenTank Interface
Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common.dll
Implements:
Sandbox.ModAPI.Ingame.IMyGasTank
Sandbox.ModAPI.Ingame.IMyFunctionalBlock
Sandbox.ModAPI.Ingame.IMyTerminalBlock
VRage.Game.ModAPI.Ingame.IMyCubeBlock
-
VRage.Game.ModAPI.Ingame.IMyEntity
###Properties |Member|Description| |---|---| |MyEntityComponentContainer Components
|Inherited fromIMyEntity
| |long EntityId
|Inherited fromIMyEntity
| |string Name
|Inherited fromIMyEntity
| |string DisplayName
|Inherited fromIMyEntity
| |bool HasInventory
|Inherited fromIMyEntity
| |int InventoryCount
|Inherited fromIMyEntity
| |BoundingBoxD WorldAABB
|Inherited fromIMyEntity
| |BoundingBoxD WorldAABBHr
|Inherited fromIMyEntity
| |MatrixD WorldMatrix
|Inherited fromIMyEntity
| |BoundingSphereD WorldVolume
|Inherited fromIMyEntity
| |BoundingSphereD WorldVolumeHr
|Inherited fromIMyEntity
| |SerializableDefinitionId BlockDefinition
|Inherited fromIMyCubeBlock
| |bool CheckConnectionAllowed
|Inherited fromIMyCubeBlock
| |IMyCubeGrid CubeGrid
|Inherited fromIMyCubeBlock
| |string DefinitionDisplayNameText
|Inherited fromIMyCubeBlock
| |float DisassembleRatio
|Inherited fromIMyCubeBlock
| |string DisplayNameText
|Inherited fromIMyCubeBlock
| |bool IsBeingHacked
|Inherited fromIMyCubeBlock
| |bool IsFunctional
|Inherited fromIMyCubeBlock
| |bool IsWorking
|Inherited fromIMyCubeBlock
| |Vector3I Max
|Inherited fromIMyCubeBlock
| |float Mass
|Inherited fromIMyCubeBlock
| |Vector3I Min
|Inherited fromIMyCubeBlock
| |int NumberInGrid
|Inherited fromIMyCubeBlock
| |MyBlockOrientation Orientation
|Inherited fromIMyCubeBlock
| |long OwnerId
|Inherited fromIMyCubeBlock
| |Vector3I Position
|Inherited fromIMyCubeBlock
| |string CustomName
|Inherited fromIMyTerminalBlock
| |string CustomNameWithFaction
|Inherited fromIMyTerminalBlock
| |string DetailedInfo
|Inherited fromIMyTerminalBlock
| |string CustomInfo
|Inherited fromIMyTerminalBlock
| |string CustomData
|Inherited fromIMyTerminalBlock
| |bool ShowOnHUD
|Inherited fromIMyTerminalBlock
| |bool ShowInTerminal
|Inherited fromIMyTerminalBlock
| |bool ShowInToolbarConfig
|Inherited fromIMyTerminalBlock
| |bool ShowInInventory
|Inherited fromIMyTerminalBlock
| |bool Enabled
|Inherited fromIMyFunctionalBlock
| |bool Stockpile
|Inherited fromIMyGasTank
| |bool AutoRefillBottles
|Inherited fromIMyGasTank
| |float Capacity
|Inherited fromIMyGasTank
| |double FilledRatio
|Inherited fromIMyGasTank
| ###Methods |Member|Description| |---|---| |double GetOxygenLevel()
|| |IMyInventory GetInventory()
|Inherited fromIMyEntity
| |IMyInventory GetInventory(int index)
|Search for inventory component with maching index.
Inherited fromIMyEntity
| |Vector3D GetPosition()
|Inherited fromIMyEntity
| |string GetOwnerFactionTag()
|Inherited fromIMyCubeBlock
| |MyRelationsBetweenPlayerAndBlock GetPlayerRelationToOwner()
|Inherited fromIMyCubeBlock
| |MyRelationsBetweenPlayerAndBlock GetUserRelationToOwner(long playerId)
|Inherited fromIMyCubeBlock
| |void UpdateIsWorking()
|Inherited fromIMyCubeBlock
| |void UpdateVisual()
|Inherited fromIMyCubeBlock
| |bool HasLocalPlayerAccess()
|Inherited fromIMyTerminalBlock
| |bool HasPlayerAccess(long playerId)
|Inherited fromIMyTerminalBlock
| |void SetCustomName(string text)
|Inherited fromIMyTerminalBlock
| |void SetCustomName(StringBuilder text)
|Inherited fromIMyTerminalBlock
| |void GetActions(List<ITerminalAction> resultList, Func<ITerminalAction, bool> collect)
|Inherited fromIMyTerminalBlock
| |void SearchActionsOfName(string name, List<ITerminalAction> resultList, Func<ITerminalAction, bool> collect)
|Inherited fromIMyTerminalBlock
| |ITerminalAction GetActionWithName(string name)
|Inherited fromIMyTerminalBlock
| |ITerminalProperty GetProperty(string id)
|Inherited fromIMyTerminalBlock
| |void GetProperties(List<ITerminalProperty> resultList, Func<ITerminalProperty, bool> collect)
|Inherited fromIMyTerminalBlock
| |bool IsSameConstructAs(IMyTerminalBlock other)
|Determines whether this block is mechanically connected to the other. This is any block connected with rotors or pistons or other mechanical devices, but not things like connectors. This will in most cases constitute your complete construct.
Be aware that using merge blocks combines grids into one, so this function will not filter out grids connected that way. Also be aware that detaching the heads of pistons and rotors will cause this connection to change.
Inherited fromIMyTerminalBlock
| |void RequestEnable(bool enable)
|Inherited fromIMyFunctionalBlock
| |void RefillBottles()
|Inherited fromIMyGasTank
|
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!