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 SourceGibSound
Declaration
public SoundSpecifier GibSound
Field Value
Type | Description |
---|---|
Robust.Shared.Audio.SoundSpecifier |
LegEntities
Declaration
public HashSet<EntityUid> LegEntities
Field Value
Type | Description |
---|---|
HashSet<EntityUid> |
Prototype
Relevant template to spawn for this body.
Declaration
public ProtoId<BodyPrototype>? Prototype
Field Value
Type | Description |
---|---|
System.Nullable<Robust.Shared.Prototypes.ProtoId<BodyPrototype>> |
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 |
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 SourceRootPartSlot
Declaration
public string RootPartSlot { get; }
Property Value
Type | Description |
---|---|
System.String |