Class GarbageInventoryBlock
Inheritance
System.Object
GarbageInventoryBlock
Assembly: Eco.Gameplay.dll
Syntax
public abstract class GarbageInventoryBlock : Block, IPickupable, IDestroyAwareBlock
Constructors
GarbageInventoryBlock()
Declaration
protected GarbageInventoryBlock()
GarbageInventoryBlock(DecayingInventory)
Declaration
protected GarbageInventoryBlock(DecayingInventory inventory)
Parameters
Properties
InteractDistance
Declaration
public float InteractDistance { get; }
Property Value
Type |
Description |
System.Single |
|
Inventories
Declaration
public IEnumerable<Inventory> Inventories { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<Inventory> |
|
Inventory
Declaration
public Inventory Inventory { get; }
Property Value
Position
Declaration
public Vector3i Position { get; protected set; }
Property Value
Methods
Destroyed(Vector3i, Block)
Declaration
public void Destroyed(Vector3i worldPosition, Block replacement)
Parameters
Pickup(Player, InteractionTarget, Inventory, INetObject)
Declaration
public Task<bool> Pickup(Player player, InteractionTarget target, Inventory targetInv, INetObject toolUsed)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
Implements
Extension Methods