Show / Hide Table of Contents

Class BodyComponent

Inheritance
System.Object
BodyComponent
Namespace: Content.Shared.Body.Components
Assembly: Content.Shared.dll
Syntax
public sealed class BodyComponent : Component

Fields

| Improve this Doc View Source

GibSound

Declaration
public SoundSpecifier GibSound
Field Value
Type Description
Robust.Shared.Audio.SoundSpecifier
| Improve this Doc View Source

LegEntities

Declaration
public HashSet<EntityUid> LegEntities
Field Value
Type Description
HashSet<EntityUid>
| Improve this Doc View Source

Prototype

Relevant template to spawn for this body.

Declaration
public ProtoId<BodyPrototype>? Prototype
Field Value
Type Description
System.Nullable<Robust.Shared.Prototypes.ProtoId<BodyPrototype>>
| Improve this Doc View Source

RequiredLegs

The amount of legs required to move at full speed. If 0, then legs do not impact speed.

Declaration
public int RequiredLegs
Field Value
Type Description
System.Int32
| Improve this Doc View Source

RootContainer

Container that holds the root body part.

Declaration
public ContainerSlot RootContainer
Field Value
Type Description
Robust.Shared.Containers.ContainerSlot
Remarks

Typically is the torso.

Properties

| Improve this Doc View Source

RootPartSlot

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