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

VRage.Game.ModAPI.Ingame.IMySlimBlock

Morten Aune Lyrstad edited this page Oct 10, 2019 · 46 revisions

IndexNamespace Index

IMySlimBlock Interface

public interface IMySlimBlock

basic block interface

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

Properties

Member Description
BlockDefinition Block definition ID
AccumulatedDamage Current accumlated damage, pending application
BuildIntegrity Build integrity (of components)
BuildLevelRatio Ratio of BuildIntegrity and MaxIntegrity
CurrentDamage BuildIntegrity - Integrity
DamageRatio
FatBlock Gets the fatblock if there is one
HasDeformation If this block is deformed (bones deformed)
IsDestroyed Gets if component stack is empty
IsFullIntegrity Integrity is at maximum
IsFullyDismounted Gets if component stack is empty
MaxDeformation Maximum deformation of block
MaxIntegrity The maximum integrity of block
Mass Block mass
OwnerId Fatblock owner, if present; otherwise grid owner
ShowParts Gets if sub parts are shown
StockpileAllocated A component stockpile has been allocated
StockpileEmpty The component stockpile is empty (no build components)
Position Grid relative position of block
CubeGrid Gets the grid the slimblock is on
ColorMaskHSV Gets the color of the block
SkinSubtypeId Gets the skin of the block

Methods

Member Description
GetMissingComponents(Dictionary) Gets the list of missing components for this block

Clone this wiki locally