Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRage.Game.ModAPI.Ingame.IMySlimBlock

Malware edited this page Dec 21, 2018 · 46 revisions

Index

IMySlimBlock Interface

Namespace: VRage.Game.ModAPI.Ingame
Assembly: VRage.Game.dll

Summary

basic block interface

Properties

_SerializableDefinitionId BlockDefinition_ Block definition ID
_float AccumulatedDamage_ Current accumlated damage, pending application
_float BuildIntegrity_ Build integrity (of components)
_float BuildLevelRatio_ Ratio of BuildIntegrity and MaxIntegrity
_float CurrentDamage_ BuildIntegrity - Integrity
_float DamageRatio_
_IMyCubeBlock FatBlock_ Gets the fatblock if there is one
_bool HasDeformation_ If this block is deformed (bones deformed)
_bool IsDestroyed_ Gets if component stack is empty
_bool IsFullIntegrity_ Integrity is at maximum
_bool IsFullyDismounted_ Gets if component stack is empty
_float MaxDeformation_ Maximum deformation of block
_float MaxIntegrity_ The maximum integrity of block
_float Mass_ Block mass
_long OwnerId_ Fatblock owner, if present; otherwise grid owner
_bool ShowParts_ Gets if sub parts are shown
_bool StockpileAllocated_ A component stockpile has been allocated
_bool StockpileEmpty_ The component stockpile is empty (no build components)
_Vector3I Position_ Grid relative position of block
_IMyCubeGrid CubeGrid_ Gets the grid the slimblock is on
_Vector3 ColorMaskHSV_ Gets the color of the block
### Methods
_void GetMissingComponents(Dictionary addToDictionary)_ Gets the list of missing components for this block

Clone this wiki locally