Class LiquidProducerComponent
Inheritance
System.Object
LiquidProducerComponent
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
[RequireComponent]
public class LiquidProducerComponent : WorldObjectComponent, ILinkable, IOwned, IHasSerializableID, IRPCAuthChecks, INotifyPropertyChanged, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions, IHasInteractions, IController, IViewController, IHasUniversalID, IWireContainer, IPolluter
Constructors
LiquidProducerComponent()
Declaration
public LiquidProducerComponent()
Properties
Availability
Declaration
public override WorldObjectComponentClientAvailability Availability { get; }
Property Value
Overrides
IconName
Declaration
public override string IconName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
LiquidName
Declaration
public LocString LiquidName { get; }
Property Value
OutputPipe
Declaration
public WireOutput OutputPipe { get; }
Property Value
Wires
Declaration
public IEnumerable<WireConnection> Wires { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<WireConnection> |
|
Methods
Destroy()
Declaration
public override void Destroy()
Overrides
GetPollutionTonsPerHour()
Declaration
public float GetPollutionTonsPerHour()
Returns
Type |
Description |
System.Single |
|
LateTick()
Declaration
public override void LateTick()
Overrides
OnAfterObjectMoved()
Declaration
public override void OnAfterObjectMoved()
Overrides
Produce(Single, Single)
Declaration
public float Produce(float quantity, float time)
Parameters
Type |
Name |
Description |
System.Single |
quantity |
|
System.Single |
time |
|
Returns
Type |
Description |
System.Single |
|
Setup(Type, Single, BlockOccupancyType)
Declaration
public void Setup(Type producesType, float productionRate, BlockOccupancyType blockOccupancyType)
Parameters
Type |
Name |
Description |
System.Type |
producesType |
|
System.Single |
productionRate |
|
BlockOccupancyType |
blockOccupancyType |
|
Tick()
Declaration
public override void Tick()
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods