Show / Hide Table of Contents

Struct InventorySystem.ContainerSlotEnumerator

Namespace: Content.Shared.Inventory
Assembly: Content.Shared.dll
Syntax
public struct ContainerSlotEnumerator

Constructors

| Improve this Doc View Source

ContainerSlotEnumerator(EntityUid, String, IPrototypeManager, InventorySystem, SlotFlags)

Declaration
public ContainerSlotEnumerator(EntityUid uid, string prototypeId, IPrototypeManager prototypeManager, InventorySystem inventorySystem, SlotFlags flags = default(SlotFlags))
Parameters
Type Name Description
EntityUid uid
System.String prototypeId
Robust.Shared.Prototypes.IPrototypeManager prototypeManager
InventorySystem inventorySystem
SlotFlags flags

Methods

| Improve this Doc View Source

MoveNext(out ContainerSlot)

Declaration
public bool MoveNext(out ContainerSlot container)
Parameters
Type Name Description
Robust.Shared.Containers.ContainerSlot container
Returns
Type Description
System.Boolean
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾