Show / Hide Table of Contents

Class PickupableBlock

Inheritance
System.Object
PickupableBlock
Implements
IPickupable
Namespace: Eco.Gameplay.Objects
Assembly: Eco.Gameplay.dll
Syntax
public abstract class PickupableBlock : Block, IPickupable

Constructors

PickupableBlock()

Declaration
protected PickupableBlock()

Properties

CaloriesToPickUp

Declaration
public virtual float CaloriesToPickUp { get; }
Property Value
Type Description
System.Single

Methods

Pickup(Player, InteractionTarget, Inventory, INetObject)

Declaration
public Task<bool> Pickup(Player player, InteractionTarget target, Inventory targetInv, INetObject toolUsed)
Parameters
Type Name Description
Player player
InteractionTarget target
Inventory targetInv
INetObject toolUsed
Returns
Type Description
System.Threading.Tasks.Task<System.Boolean>

Implements

IPickupable

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾