Show / Hide Table of Contents

Class ClientInventorySystem.SlotData

Inheritance
System.Object
ClientInventorySystem.SlotData
Namespace: Content.Client.Inventory
Assembly: Content.Client.dll
Syntax
public sealed class SlotData : object

Constructors

| Improve this Doc View Source

SlotData(ClientInventorySystem.SlotData, Boolean, Boolean)

Declaration
public SlotData(ClientInventorySystem.SlotData oldData, bool highlighted = false, bool blocked = false)
Parameters
Type Name Description
ClientInventorySystem.SlotData oldData
System.Boolean highlighted
System.Boolean blocked
| Improve this Doc View Source

SlotData(SlotDefinition, ContainerSlot, Boolean, Boolean)

Declaration
public SlotData(SlotDefinition slotDef, ContainerSlot container = null, bool highlighted = false, bool blocked = false)
Parameters
Type Name Description
SlotDefinition slotDef
Robust.Shared.Containers.ContainerSlot container
System.Boolean highlighted
System.Boolean blocked

Fields

| Improve this Doc View Source

Blocked

Declaration
public bool Blocked
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

Container

Declaration
public ContainerSlot Container
Field Value
Type Description
Robust.Shared.Containers.ContainerSlot
| Improve this Doc View Source

Highlighted

Declaration
public bool Highlighted
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

SlotDef

Declaration
public readonly SlotDefinition SlotDef
Field Value
Type Description
SlotDefinition

Properties

| Improve this Doc View Source

ButtonOffset

Declaration
public Vector2i ButtonOffset { get; }
Property Value
Type Description
Vector2i
| Improve this Doc View Source

HasSlotGroup

Declaration
public bool HasSlotGroup { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

HeldEntity

Declaration
public EntityUid? HeldEntity { get; }
Property Value
Type Description
System.Nullable<EntityUid>
| Improve this Doc View Source

ShowInWindow

Declaration
public bool ShowInWindow { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

SlotDisplayName

Declaration
public string SlotDisplayName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SlotGroup

Declaration
public string SlotGroup { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SlotName

Declaration
public string SlotName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

TextureName

Declaration
public string TextureName { get; }
Property Value
Type Description
System.String

Operators

| Improve this Doc View Source

Implicit(ClientInventorySystem.SlotData to SlotDefinition)

Declaration
public static implicit operator SlotDefinition(ClientInventorySystem.SlotData s)
Parameters
Type Name Description
ClientInventorySystem.SlotData s
Returns
Type Description
SlotDefinition
| Improve this Doc View Source

Implicit(SlotDefinition to ClientInventorySystem.SlotData)

Declaration
public static implicit operator ClientInventorySystem.SlotData(SlotDefinition s)
Parameters
Type Name Description
SlotDefinition s
Returns
Type Description
ClientInventorySystem.SlotData
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾