Space Engineers
|
Public Member Functions | |
abstract float | CurrentOutputByType (MyDefinitionId resourceTypeId) |
Currently used power output of the producer in MW or litres/h. More... | |
abstract float | MaxOutputByType (MyDefinitionId resourceTypeId) |
Maximum power output of the producer in MW or litres/h. More... | |
abstract float | DefinedOutputByType (MyDefinitionId resourceTypeId) |
Max resource output defined in definition in MW or litres/h. More... | |
abstract bool | ProductionEnabledByType (MyDefinitionId resourceTypeId) |
Resource production is enabled More... | |
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 MyObjectBuilder_ComponentBase | Serialize (bool copy=false) |
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... | |
Additional Inherited Members | |
Properties inherited from VRage.Game.Components.MyEntityComponentBase | |
MyEntityComponentContainer | Container [get] |
IMyEntity | Entity [get] |
abstract string | ComponentTypeDebugString [get] |
Name of the base component type for debug purposes (e.g.: "Position") More... | |
Properties inherited from VRage.Game.Components.MyComponentBase | |
MyComponentContainer | ContainerBase [get] |
This cannot be named Container to not conflict with the definition of Container in MyEntityComponentBase. More... | |
Events inherited from VRage.Game.Components.MyEntityComponentBase | |
static Action< MyEntityComponentBase > | OnAfterAddedToContainer |
Action< MyEntityComponentBase > | BeforeRemovedFromContainer |
Definition at line 5 of file MyResourceSourceComponentBase.cs.
|
pure virtual |
Currently used power output of the producer in MW or litres/h.
Implemented in Sandbox.Game.EntityComponents.MyResourceSourceComponent.
|
pure virtual |
Max resource output defined in definition in MW or litres/h.
Implemented in Sandbox.Game.EntityComponents.MyResourceSourceComponent.
|
pure virtual |
Maximum power output of the producer in MW or litres/h.
Implemented in Sandbox.Game.EntityComponents.MyResourceSourceComponent.
|
pure virtual |
Resource production is enabled
Implemented in Sandbox.Game.EntityComponents.MyResourceSourceComponent.