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
_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 |
_void GetMissingComponents(Dictionary 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!