Show / Hide Table of Contents

Class BinSystem

This handles BinComponent

Inheritance
System.Object
BinSystem
Namespace: Content.Shared.Storage.EntitySystems
Assembly: Content.Shared.dll
Syntax
public sealed class BinSystem : EntitySystem

Fields

| Improve this Doc View Source

BinContainerId

Declaration
public const string BinContainerId = null
Field Value
Type Description
System.String

Methods

| Improve this Doc View Source

Initialize()

Declaration
public override void Initialize()
| Improve this Doc View Source

TryInsertIntoBin(EntityUid, EntityUid, BinComponent)

Inserts an entity at the top of the bin

Declaration
public bool TryInsertIntoBin(EntityUid uid, EntityUid toInsert, BinComponent component = null)
Parameters
Type Name Description
EntityUid uid
EntityUid toInsert
BinComponent component
Returns
Type Description
System.Boolean
| Improve this Doc View Source

TryRemoveFromBin(EntityUid, Nullable<EntityUid>, BinComponent)

Tries to remove an entity from the top of the bin.

Declaration
public bool TryRemoveFromBin(EntityUid uid, EntityUid? toRemove, BinComponent component = null)
Parameters
Type Name Description
EntityUid uid
System.Nullable<EntityUid> toRemove
BinComponent component
Returns
Type Description
System.Boolean
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾