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

Member Description
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

Member Description
void GetMissingComponents(Dictionary<string, int> addToDictionary) Gets the list of missing components for this block

Clone this wiki locally