Space Engineers
|
Classes | |
class | MyBlueprintToProduce |
Normal class to hold information about blueprint being produced More... | |
class | MyRepairBlueprintToProduce |
Use this class with blueprints, that are type of MyRepairBlueprintDefinition, intended for repairing items.. More... | |
Public Member Functions | |
virtual void | GetInsertedOperatingItems (List< MyPhysicalInventoryItem > itemsList) |
virtual bool | IsOperatingItem (MyPhysicalInventoryItem item) |
virtual bool | ContainsOperatingItem (MyPhysicalInventoryItem item) |
virtual MyFixedPoint | GetOperatingItemRemovableAmount (MyPhysicalInventoryItem item) |
MyBlueprintToProduce | GetItemToProduce (int index) |
void | StartProduction (long senderEntityId) |
void | StopProduction (long senderEntityId) |
void | ClearItemsToProduce (long senderEntityId) |
bool | CanUseBlueprint (MyBlueprintDefinitionBase blueprint) |
void | AddItemToProduce (MyFixedPoint amount, MyBlueprintDefinitionBase blueprint, long senderEntityId) |
void | AddItemToRepair (MyFixedPoint amount, MyBlueprintDefinitionBase blueprint, long senderEntityId, uint inventoryItemId, MyObjectBuilderType inventoryItemType, MyStringHash inventoryItemSubtypeId) |
void | RemoveItemToProduce (MyFixedPoint amount, MyBlueprintDefinitionBase blueprint, long senderEntityId, int itemId=-1) |
void | RemoveItemToProduce (MyFixedPoint amount, MyBlueprintToProduce blueprintInProduction, long senderEntityId) |
MyFixedPoint | MaxProducableAmount (MyBlueprintDefinitionBase blueprintDefinition, bool raiseMissingRequiredItemEvent=false) |
MyBlueprintToProduce | TryGetItemToProduce (MyBlueprintDefinitionBase blueprint) |
MyRepairBlueprintToProduce | TryGetItemToRepair (uint inventoryItemId, MyObjectBuilderType inventoryItemType, MyStringHash inventoryItemSubtypeId) |
void | InsertOperatingItem (MyPhysicalInventoryItem item, long senderEntityId) |
void | RemoveOperatingItem (MyPhysicalInventoryItem item, MyFixedPoint amount, long senderEntityId) |
virtual void | UpdateCurrentItemStatus (float statusDelta) |
MyBlueprintToProduce | GetCurrentItemInProduction () |
void | AcquireLockRequest (long entityId) |
void | ReleaseLockRequest (long entityId) |
override void | Close () |
override MyObjectBuilder_ComponentBase | Serialize (bool copy=false) |
override void | Deserialize (VRage.Game.ObjectBuilders.ComponentSystem.MyObjectBuilder_ComponentBase builder) |
Public Member Functions inherited from VRage.Game.Components.MyGameLogicComponent | |
virtual void | UpdateOnceBeforeFrame () |
virtual void | UpdateBeforeSimulation () |
virtual void | UpdateBeforeSimulation10 () |
virtual void | UpdateBeforeSimulation100 () |
virtual void | UpdateAfterSimulation () |
virtual void | UpdateAfterSimulation10 () |
virtual void | UpdateAfterSimulation100 () |
virtual void | UpdatingStopped () |
virtual void | Init (MyObjectBuilder_EntityBase objectBuilder) |
abstract MyObjectBuilder_EntityBase | GetObjectBuilder (bool copy=false) |
virtual void | MarkForClose () |
Public Member Functions inherited from VRage.Game.Components.MyEntityComponentBase | |
override void | OnAddedToContainer () |
Gets called after the container of this component changes More... | |
override void | OnBeforeRemovedFromContainer () |
Gets called before the removal of this component from a container More... | |
Public Member Functions inherited from VRage.Game.Components.MyComponentBase | |
virtual void | SetContainer (MyComponentContainer container) |
Sets the container of this component. Note that the component is not added to the container here! Therefore, use MyComponentContainer.Add(...) method and it will in turn call this method. Actually, you should seldom have the need to call this method yourself. More... | |
virtual T | GetAs< T > () |
virtual void | OnAddedToScene () |
CH: TOOD: Be careful! This does not get called if the component is added to a container that is in the scene already! More... | |
virtual void | OnRemovedFromScene () |
CH: TOOD: Be careful! This does not get called if the component is removed from a container that is still in the scene! More... | |
virtual void | Deserialize (MyObjectBuilder_ComponentBase builder) |
virtual void | Init (MyComponentDefinitionBase definition) |
virtual bool | IsSerialized () |
Tells the component container serializer whether this component should be saved More... | |
Protected Attributes | |
List< MyBlueprintClassDefinition > | m_blueprintClasses = new List<MyBlueprintClassDefinition>() |
int | m_currentItem = -1 |
float | m_currentItemStatus |
float | m_lastItemStatus |
MyFixedPoint | m_currentProductionAmount = 1 |
int | m_elapsedTimeMs = 0 |
float | m_craftingSpeedMultiplier = 1.0f |
Events | |
Action< MyCraftingComponentBase, MyBlueprintDefinitionBase, MyFixedPoint > | BlueprintProduced |
Action< MyCraftingComponentBase, MyBlueprintDefinitionBase, MyBlueprintDefinitionBase.Item > | MissingRequiredItem |
Action< MyCraftingComponentBase > | InventoryIsFull |
Action< MyCraftingComponentBase, MyBlueprintToProduce > | ProductionChanged |
Action< MyCraftingComponentBase > | OperatingChanged |
Action | LockAcquired |
Action | LockReleased |
Events inherited from VRage.Game.Components.MyEntityComponentBase | |
static Action< MyEntityComponentBase > | OnAfterAddedToContainer |
Action< MyEntityComponentBase > | BeforeRemovedFromContainer |
Definition at line 29 of file MyCraftingComponentBase.cs.
|
inline |
Definition at line 1088 of file MyCraftingComponentBase.cs.
|
inline |
Definition at line 403 of file MyCraftingComponentBase.cs.
|
inline |
Definition at line 449 of file MyCraftingComponentBase.cs.
|
inlineprotectedvirtual |
Reimplemented in Sandbox.Game.Components.MyCraftingComponentInteractive.
Definition at line 661 of file MyCraftingComponentBase.cs.
|
inline |
Definition at line 393 of file MyCraftingComponentBase.cs.
|
inline |
Definition at line 357 of file MyCraftingComponentBase.cs.
|
inlineprotected |
Definition at line 362 of file MyCraftingComponentBase.cs.
|
inlinevirtual |
Reimplemented from VRage.Game.Components.MyGameLogicComponent.
Definition at line 1157 of file MyCraftingComponentBase.cs.
|
inlinevirtual |
Reimplemented in Sandbox.Game.Components.MyCraftingComponentBlock.
Definition at line 197 of file MyCraftingComponentBase.cs.
|
inlineprotected |
Definition at line 703 of file MyCraftingComponentBase.cs.
|
inlineprotected |
Definition at line 692 of file MyCraftingComponentBase.cs.
|
inline |
Definition at line 1176 of file MyCraftingComponentBase.cs.
|
inline |
Definition at line 1079 of file MyCraftingComponentBase.cs.
|
inlinevirtual |
Reimplemented in Sandbox.Game.Components.MyCraftingComponentBlock.
Definition at line 189 of file MyCraftingComponentBase.cs.
|
inline |
Definition at line 271 of file MyCraftingComponentBase.cs.
|
inlinevirtual |
Reimplemented in Sandbox.Game.Components.MyCraftingComponentBlock.
Definition at line 199 of file MyCraftingComponentBase.cs.
|
inline |
Definition at line 761 of file MyCraftingComponentBase.cs.
|
inlineprotectedvirtual |
Reimplemented in Sandbox.Game.Components.MyCraftingComponentBlock.
Definition at line 191 of file MyCraftingComponentBase.cs.
|
inlinevirtual |
Reimplemented in Sandbox.Game.Components.MyCraftingComponentBlock.
Definition at line 195 of file MyCraftingComponentBase.cs.
|
inlineprotected |
Definition at line 711 of file MyCraftingComponentBase.cs.
|
inline |
Definition at line 583 of file MyCraftingComponentBase.cs.
|
inlineprotected |
Definition at line 282 of file MyCraftingComponentBase.cs.
|
inlineprotected |
Definition at line 255 of file MyCraftingComponentBase.cs.
|
inlineprotected |
Definition at line 213 of file MyCraftingComponentBase.cs.
|
inlineprotected |
Definition at line 806 of file MyCraftingComponentBase.cs.
|
inlineprotected |
Definition at line 827 of file MyCraftingComponentBase.cs.
|
inline |
Definition at line 1093 of file MyCraftingComponentBase.cs.
|
inline |
Definition at line 500 of file MyCraftingComponentBase.cs.
|
inline |
Definition at line 506 of file MyCraftingComponentBase.cs.
|
inline |
Definition at line 781 of file MyCraftingComponentBase.cs.
|
inlineprotected |
Definition at line 786 of file MyCraftingComponentBase.cs.
|
inlineprotectedvirtual |
Reimplemented in Sandbox.Game.Components.MyCraftingComponentBlock.
Definition at line 193 of file MyCraftingComponentBase.cs.
|
inlineprotected |
Definition at line 616 of file MyCraftingComponentBase.cs.
|
inlineprotected |
Definition at line 845 of file MyCraftingComponentBase.cs.
|
inlinevirtual |
Reimplemented from VRage.Game.Components.MyComponentBase.
Reimplemented in Sandbox.Game.Components.MyCraftingComponentBlock, Sandbox.Game.Components.MyCraftingComponentInteractive, and Sandbox.Game.Components.MyCraftingComponentBasic.
Definition at line 1168 of file MyCraftingComponentBase.cs.
|
inline |
Definition at line 307 of file MyCraftingComponentBase.cs.
|
inlineprotected |
Definition at line 312 of file MyCraftingComponentBase.cs.
|
inlineprotectedvirtual |
Reimplemented in Sandbox.Game.Components.MyCraftingComponentBlock, Sandbox.Game.Components.MyCraftingComponentInteractive, and Sandbox.Game.Components.MyCraftingComponentBasic.
Definition at line 205 of file MyCraftingComponentBase.cs.
|
inlineprotected |
Definition at line 816 of file MyCraftingComponentBase.cs.
|
inlineprotectedvirtual |
Reimplemented in Sandbox.Game.Components.MyCraftingComponentBlock.
Definition at line 201 of file MyCraftingComponentBase.cs.
|
inline |
Definition at line 332 of file MyCraftingComponentBase.cs.
|
inlineprotected |
Definition at line 337 of file MyCraftingComponentBase.cs.
|
inlineprotectedvirtual |
Reimplemented in Sandbox.Game.Components.MyCraftingComponentBlock, Sandbox.Game.Components.MyCraftingComponentInteractive, and Sandbox.Game.Components.MyCraftingComponentBasic.
Definition at line 207 of file MyCraftingComponentBase.cs.
|
inline |
Definition at line 747 of file MyCraftingComponentBase.cs.
|
inline |
Definition at line 752 of file MyCraftingComponentBase.cs.
|
inlineprotected |
Definition at line 948 of file MyCraftingComponentBase.cs.
|
inlinevirtual |
Reimplemented in Sandbox.Game.Components.MyCraftingComponentInteractive.
Definition at line 1018 of file MyCraftingComponentBase.cs.
|
inlineprotectedvirtual |
Reimplemented in Sandbox.Game.Components.MyCraftingComponentBlock.
Definition at line 203 of file MyCraftingComponentBase.cs.
|
protectedpure virtual |
|
protected |
Definition at line 69 of file MyCraftingComponentBase.cs.
|
protected |
Definition at line 83 of file MyCraftingComponentBase.cs.
|
protected |
Definition at line 78 of file MyCraftingComponentBase.cs.
|
protected |
Definition at line 79 of file MyCraftingComponentBase.cs.
|
protected |
Definition at line 81 of file MyCraftingComponentBase.cs.
|
protected |
Definition at line 82 of file MyCraftingComponentBase.cs.
|
protected |
Definition at line 80 of file MyCraftingComponentBase.cs.
|
get |
Definition at line 139 of file MyCraftingComponentBase.cs.
|
get |
Definition at line 98 of file MyCraftingComponentBase.cs.
|
get |
Definition at line 144 of file MyCraftingComponentBase.cs.
|
get |
Definition at line 103 of file MyCraftingComponentBase.cs.
|
get |
Definition at line 129 of file MyCraftingComponentBase.cs.
|
get |
Definition at line 154 of file MyCraftingComponentBase.cs.
|
get |
Definition at line 111 of file MyCraftingComponentBase.cs.
|
get |
Definition at line 159 of file MyCraftingComponentBase.cs.
|
get |
Definition at line 149 of file MyCraftingComponentBase.cs.
|
get |
Definition at line 92 of file MyCraftingComponentBase.cs.
|
get |
Definition at line 176 of file MyCraftingComponentBase.cs.
|
get |
Definition at line 168 of file MyCraftingComponentBase.cs.
|
get |
Definition at line 121 of file MyCraftingComponentBase.cs.
|
get |
Definition at line 134 of file MyCraftingComponentBase.cs.
|
get |
Definition at line 116 of file MyCraftingComponentBase.cs.
Action<MyCraftingComponentBase, MyBlueprintDefinitionBase, MyFixedPoint> Sandbox.Game.Components.MyCraftingComponentBase.BlueprintProduced |
Definition at line 70 of file MyCraftingComponentBase.cs.
Action<MyCraftingComponentBase> Sandbox.Game.Components.MyCraftingComponentBase.InventoryIsFull |
Definition at line 72 of file MyCraftingComponentBase.cs.
Action Sandbox.Game.Components.MyCraftingComponentBase.LockAcquired |
Definition at line 75 of file MyCraftingComponentBase.cs.
Action Sandbox.Game.Components.MyCraftingComponentBase.LockReleased |
Definition at line 76 of file MyCraftingComponentBase.cs.
Action<MyCraftingComponentBase, MyBlueprintDefinitionBase, MyBlueprintDefinitionBase.Item> Sandbox.Game.Components.MyCraftingComponentBase.MissingRequiredItem |
Definition at line 71 of file MyCraftingComponentBase.cs.
Action<MyCraftingComponentBase> Sandbox.Game.Components.MyCraftingComponentBase.OperatingChanged |
Definition at line 74 of file MyCraftingComponentBase.cs.
Action<MyCraftingComponentBase, MyBlueprintToProduce> Sandbox.Game.Components.MyCraftingComponentBase.ProductionChanged |
Definition at line 73 of file MyCraftingComponentBase.cs.