Show / Hide Table of Contents

Class InteractablePlantBlock

Inheritance
System.Object
PlantBlock
InteractablePlantBlock
Implements
ITickableBlock
IExtraBlockData
IDestroyAwareBlock
IPickupable
Inherited Members
PlantBlock.GetPlant(WrappedWorldPosition3i)
PlantBlock.GetExtra(Vector3i)
PlantBlock.Tick(Vector3i, PersistentChunk, PoolableListWrapper<BlockChange>)
PlantBlock.Destroyed(Vector3i, Block)
PlantBlock.Asleep
Namespace: Eco.Gameplay.Plants
Assembly: Eco.Gameplay.dll
Syntax
public abstract class InteractablePlantBlock : PlantBlock, ITickableBlock, IExtraBlockData, IDestroyAwareBlock, IPickupable

Constructors

InteractablePlantBlock()

Declaration
protected InteractablePlantBlock()

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

ITickableBlock
IExtraBlockData
IDestroyAwareBlock
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
☀
☾