-
Notifications
You must be signed in to change notification settings - Fork 125
VRage.Game.ModAPI.Ingame.IMySlimBlock
← Index ← Namespace Index
public interface IMySlimBlock
Basic block interface (PB scripting interface)
Namespace: VRage.Game.ModAPI.Ingame
Assembly: VRage.Game.dll
float AccumulatedDamage { get; }
Current accumlated damage, pending application
SerializableDefinitionId BlockDefinition { get; }
Block definition ID
Build integrity (of components)
float BuildLevelRatio { get; }
Ratio of BuildIntegrity and MaxIntegrity
Gets the color of the block
Gets the grid the slimblock is on
BuildIntegrity - Integrity
IMyCubeBlock FatBlock { get; }
Gets the fatblock if there is one
If this block is deformed (bones deformed)
Gets if component stack is empty
Integrity is at maximum
bool IsFullyDismounted { get; }
Gets if component stack is empty
Block mass
Maximum deformation of block
The maximum integrity of block
Fatblock owner, if present; otherwise grid owner
Grid relative position of block
Gets if sub parts are shown
MyStringHash SkinSubtypeId { get; }
Gets the skin of the block
bool StockpileAllocated { get; }
A component stockpile has been allocated
The component stockpile is empty (no build components)
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!