VRage.Game.ModAPI
IMyComponentStack
Assembly: VRage.Game.dll
public interface IMyComponentStack
Describes component stack of the block
Events
| Member | Description |
|---|---|
| IntegrityChanged | Triggers when integrity is changed |
| IsFunctionalChanged | Triggers when functional state has changed |
Properties
| Member | Description |
|---|---|
| BuildIntegrity | Gets the build integrity of the component stack |
| BuildRatio | Gets the build ration of the component stack |
| GroupCount | Gets count of the components in the group (stack). Use with GetComponentStackInfo to get components in the stack. |
| Integrity | Gets the integrity of the component stack |
| IntegrityRatio | Gets the integrity ratio of the component stack |
| IsBuilt | Whether this component stack is built |
| IsDestroyed | Whether the component stack is destroyed |
| IsFullIntegrity | Whether the component stack is at full integrity |
| IsFullyDismounted | Whether the component stack is fully dismounted |
| IsFunctional | Whether this component stack is in functional state |
| MaxIntegrity | Gets the max integrity of the component stack |
| YieldLastComponent | Whether the yield last component is enabled or not. |
Methods
| Member | Description |
|---|---|
| GetAllMissingComponents(Dictionary<string, int>) | Gets missing components |
| GetComponentStackInfo(int) | |
| GetMissingInfo(out int, out int) | Gets index and amount of missing component |
Inheritors: