Show / Hide Table of Contents

Class BodyPartComponent

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

Fields

| Improve this Doc View Source

Body

Parent body for this part.

Declaration
public EntityUid? Body
Field Value
Type Description
System.Nullable<EntityUid>
| Improve this Doc View Source

Children

Child body parts attached to this body part.

Declaration
public Dictionary<string, BodyPartSlot> Children
Field Value
Type Description
Dictionary<System.String, BodyPartSlot>
| Improve this Doc View Source

IsVital

Whether or not the owning Body will die if all BodyComponents of this type are removed from it.

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

Organs

Organs attached to this body part.

Declaration
public Dictionary<string, OrganSlot> Organs
Field Value
Type Description
Dictionary<System.String, OrganSlot>
| Improve this Doc View Source

PartType

Declaration
public BodyPartType PartType
Field Value
Type Description
BodyPartType
| Improve this Doc View Source

Symmetry

Declaration
public BodyPartSymmetry Symmetry
Field Value
Type Description
BodyPartSymmetry

Extension Methods

HumanoidVisualLayersExtension.ToHumanoidLayers(BodyPartComponent)
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾