This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 125
VRage.Game.ModAPI.Ingame.IMySlimBlock
Morten Aune Lyrstad edited this page Feb 17, 2020
·
45 revisions
← Index ← Namespace Index
public interface IMySlimBlock
basic block interface
Namespace: VRage.Game.ModAPI.Ingame
Assembly: VRage.Game.dll
Member | Description |
---|---|
BlockDefinition { get; } | Block definition ID |
AccumulatedDamage { get; } | Current accumlated damage, pending application |
BuildIntegrity { get; } | Build integrity (of components) |
BuildLevelRatio { get; } | Ratio of BuildIntegrity and MaxIntegrity |
CurrentDamage { get; } | BuildIntegrity - Integrity |
DamageRatio { get; } | |
FatBlock { get; } | Gets the fatblock if there is one |
HasDeformation { get; } | If this block is deformed (bones deformed) |
IsDestroyed { get; } | Gets if component stack is empty |
IsFullIntegrity { get; } | Integrity is at maximum |
IsFullyDismounted { get; } | Gets if component stack is empty |
MaxDeformation { get; } | Maximum deformation of block |
MaxIntegrity { get; } | The maximum integrity of block |
Mass { get; } | Block mass |
OwnerId { get; } | Fatblock owner, if present; otherwise grid owner |
ShowParts { get; } | Gets if sub parts are shown |
StockpileAllocated { get; } | A component stockpile has been allocated |
StockpileEmpty { get; } | The component stockpile is empty (no build components) |
Position { get; } | Grid relative position of block |
CubeGrid { get; } | Gets the grid the slimblock is on |
ColorMaskHSV { get; } | Gets the color of the block |
SkinSubtypeId { get; } | Gets the skin of the block |
Member | Description |
---|---|
GetMissingComponents(Dictionary) | 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!