Show / Hide Table of Contents

Class GarbageBagBlock

Inheritance
System.Object
GarbageInventoryBlock
GarbageBagBlock
GarbageBagStacked1Decay1Block
GarbageBagStacked1Decay2Block
GarbageBagStacked1Decay3Block
GarbageBagStacked1Decay4Block
GarbageBagStacked2Decay1Block
GarbageBagStacked2Decay2Block
GarbageBagStacked2Decay3Block
GarbageBagStacked2Decay4Block
GarbageBagStacked3Decay1Block
GarbageBagStacked3Decay2Block
GarbageBagStacked3Decay3Block
GarbageBagStacked3Decay4Block
GarbageBagStacked4Decay1Block
GarbageBagStacked4Decay2Block
GarbageBagStacked4Decay3Block
GarbageBagStacked4Decay4Block
Implements
IPickupable
IDestroyAwareBlock
Inherited Members
GarbageInventoryBlock.Pickup(Player, InteractionTarget, Inventory, INetObject)
GarbageInventoryBlock.Destroyed(Vector3i, Block)
GarbageInventoryBlock.InteractDistance
GarbageInventoryBlock.Position
GarbageInventoryBlock.Inventory
GarbageInventoryBlock.Inventories
Namespace: Eco.Gameplay.Items
Assembly: Eco.Gameplay.dll
Syntax
public abstract class GarbageBagBlock : GarbageInventoryBlock, IPickupable, IDestroyAwareBlock

Constructors

GarbageBagBlock()

Declaration
protected GarbageBagBlock()

GarbageBagBlock(DecayingInventory)

Declaration
protected GarbageBagBlock(DecayingInventory inventory)
Parameters
Type Name Description
DecayingInventory inventory

Fields

DecayNum

Declaration
public const int DecayNum = 4
Field Value
Type Description
System.Int32

StackedNum

Declaration
public const int StackedNum = 4
Field Value
Type Description
System.Int32

Methods

UpdateByInventory(DecayingInventory)

Updates world with GarbageBagBlock corresponding to inventory and returns synced block.

Declaration
public static void UpdateByInventory(DecayingInventory inventory)
Parameters
Type Name Description
DecayingInventory inventory

Implements

IPickupable
IDestroyAwareBlock

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
☀
☾