This repository was archived by the owner on Dec 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
VRage.Game.ModAPI.Ingame.IMySlimBlock
Malware edited this page Dec 21, 2018
·
46 revisions
← Index
Namespace: VRage.Game.ModAPI.Ingame
Assembly: VRage.Game.dll
basic block interface
| 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 |
| Member | Description |
|---|---|
GetMissingComponents(Dictionary<string, int>) |
Gets the list of missing components for this block |
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!