| Add(IMyInventoryItem, MyFixedPoint) |
|
| AddItems(MyFixedPoint, MyObjectBuilder_Base) |
Adds item to inventory |
| ApplyChanges(List) |
|
| ComputeAmountThatFits(MyDefinitionId, float, float) |
|
| ConsumeItem(MyDefinitionId, MyFixedPoint, long) |
|
| CountItems(Dictionary<MyDefinitionId, MyFixedPoint>) |
|
| Deserialize(MyObjectBuilder_ComponentBase) |
|
| GetInventoryCount() |
Returns number of embedded inventories - this inventory can be aggregation of other inventories. |
| GetItemAmount(MyDefinitionId, MyItemFlags, bool) |
|
| GetItems() |
|
| GetItemsCount() |
Returns the number of items in the inventory. This needs to be overrided, otherwise it returns 0! |
| IsSerialized() |
|
| ItemsCanBeAdded(MyFixedPoint, IMyInventoryItem) |
|
| ItemsCanBeRemoved(MyFixedPoint, IMyInventoryItem) |
|
| IterateInventory(int, int) |
Search for inventory having given search index. Aggregate inventory: Iterates through aggregate inventory until simple inventory with matching index is found. Simple inventory: Returns itself if currentIndex == searchIndex. Usage: searchIndex = index of inventory being searched, leave currentIndex = 0. |
| OnBeforeContentsChanged() |
|
| OnContentsAdded(MyPhysicalInventoryItem, MyFixedPoint) |
|
| OnContentsChanged() |
|
| OnContentsRemoved(MyPhysicalInventoryItem, MyFixedPoint) |
|
| RaiseAfterModifyFinished() |
|
| RaiseBeforeContentsChanged() |
|
| RaiseContentsAdded(MyPhysicalInventoryItem, MyFixedPoint) |
|
| RaiseContentsChanged() |
|
| RaiseContentsRemoved(MyPhysicalInventoryItem, MyFixedPoint) |
|
| RaiseInventoryContentChanged(MyPhysicalInventoryItem, MyFixedPoint) |
|
| Remove(IMyInventoryItem, MyFixedPoint) |
|
| RemoveItemsOfType(MyFixedPoint, MyDefinitionId, MyItemFlags, bool) |
Remove items of a given amount and definition |
| Serialize(bool) |
|
| ToString() |
|
| Deserialize(MyObjectBuilder_ComponentBase) |
Inherited from IMyComponentBase |
| Deserialize(MyObjectBuilder_ComponentBase) |
Inherited from MyComponentBase |
| GetAs() |
Inherited from IMyComponentBase |
| GetAs() |
Inherited from MyComponentBase |
| Init(MyComponentDefinitionBase) |
Inherited from IMyComponentBase |
| Init(MyComponentDefinitionBase) |
Inherited from MyComponentBase |
| IsSerialized() |
Inherited from IMyComponentBase |
| IsSerialized() |
Tells the component container serializer whether this component should be saved
Inherited from MyComponentBase |
| OnAddedToContainer() |
Inherited from IMyComponentBase |
| OnAddedToContainer() |
Inherited from MyEntityComponentBase |
| OnAddedToContainer() |
Gets called after the container of this component changes
Inherited from MyComponentBase |
| OnAddedToScene() |
Inherited from IMyComponentBase |
| OnAddedToScene() |
CH: TOOD: Be careful! This does not get called if the component is added to a container that is in the scene already!
Inherited from MyComponentBase |
| OnBeforeRemovedFromContainer() |
Inherited from IMyComponentBase |
| OnBeforeRemovedFromContainer() |
Inherited from MyEntityComponentBase |
| OnBeforeRemovedFromContainer() |
Gets called before the removal of this component from a container
Inherited from MyComponentBase |
| OnRemovedFromScene() |
Inherited from IMyComponentBase |
| OnRemovedFromScene() |
CH: TOOD: Be careful! This does not get called if the component is removed from a container that is still in the scene!
Inherited from MyComponentBase |
| Serialize(bool) |
Inherited from IMyComponentBase |
| Serialize(bool) |
Inherited from MyComponentBase |
| SetContainer(IMyComponentContainer) |
Inherited from IMyComponentBase |
| SetContainer(IMyComponentContainer) |
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.
Inherited from MyComponentBase |