Show / Hide Table of Contents

Class Hand

Inheritance
System.Object
Hand
Namespace: Content.Shared.Hands.Components
Assembly: Content.Shared.dll
Syntax
public sealed class Hand : object

Constructors

| Improve this Doc View Source

Hand(String, HandLocation, ContainerSlot)

Declaration
public Hand(string name, HandLocation location, ContainerSlot container = null)
Parameters
Type Name Description
System.String name
HandLocation location
Robust.Shared.Containers.ContainerSlot container

Fields

| Improve this Doc View Source

Container

The container used to hold the contents of this hand. Nullable because the client must get the containers via Robust.Shared.Containers.ContainerManagerComponent, which may not be synced with the server when the client hands are created.

Declaration
public ContainerSlot Container
Field Value
Type Description
Robust.Shared.Containers.ContainerSlot

Properties

| Improve this Doc View Source

HeldEntity

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

IsEmpty

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

Location

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

Name

Declaration
public string Name { get; }
Property Value
Type Description
System.String
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾