Class PipePayload
Inheritance
System.Object
PipePayload
Assembly: Eco.Gameplay.dll
Syntax
public sealed class PipePayload : ValueType
Constructors
PipePayload(Type, Single, Single)
Declaration
public PipePayload(Type itemType, float amount, float time)
Parameters
Type |
Name |
Description |
System.Type |
itemType |
|
System.Single |
amount |
|
System.Single |
time |
|
Fields
Amount
Declaration
public readonly float Amount
Field Value
Type |
Description |
System.Single |
|
ItemType
Declaration
public readonly Type ItemType
Field Value
Type |
Description |
System.Type |
|
Time
Declaration
public readonly float Time
Field Value
Type |
Description |
System.Single |
|
Properties
Item
Declaration
public Item Item { get; }
Property Value
Methods
Signal(Single)
Declaration
public static PipePayload Signal(float level)
Parameters
Type |
Name |
Description |
System.Single |
level |
|
Returns
WithAmount(Single)
Declaration
public PipePayload WithAmount(float amount)
Parameters
Type |
Name |
Description |
System.Single |
amount |
|
Returns
Extension Methods