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 |
|---|---|
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 |
| Member | Description |
|---|---|
void GetMissingComponents(Dictionary<string, int> addToDictionary) |
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!