Show / Hide Table of Contents

Class BodySystem

Inheritance
System.Object
SharedBodySystem
BodySystem
Namespace: Content.Server.Body.Systems
Assembly: Content.Server.dll
Syntax
public sealed class BodySystem : SharedBodySystem

Methods

| Improve this Doc View Source

AddPart(EntityUid, EntityUid, String, BodyPartComponent, BodyComponent)

Declaration
protected override void AddPart(EntityUid bodyUid, EntityUid partUid, string slotId, BodyPartComponent component, BodyComponent bodyComp = null)
Parameters
Type Name Description
EntityUid bodyUid
EntityUid partUid
System.String slotId
BodyPartComponent component
BodyComponent bodyComp
| Improve this Doc View Source

GibBody(EntityUid, Boolean, BodyComponent, Boolean)

Declaration
public override HashSet<EntityUid> GibBody(EntityUid bodyId, bool gibOrgans = false, BodyComponent body = null, bool deleteItems = false)
Parameters
Type Name Description
EntityUid bodyId
System.Boolean gibOrgans
BodyComponent body
System.Boolean deleteItems
Returns
Type Description
HashSet<EntityUid>
| Improve this Doc View Source

Initialize()

Declaration
public override void Initialize()
Overrides
SharedBodySystem.Initialize()
| Improve this Doc View Source

RemovePart(EntityUid, EntityUid, String, BodyPartComponent, BodyComponent)

Declaration
protected override void RemovePart(EntityUid bodyUid, EntityUid partUid, string slotId, BodyPartComponent component, BodyComponent bodyComp = null)
Parameters
Type Name Description
EntityUid bodyUid
EntityUid partUid
System.String slotId
BodyPartComponent component
BodyComponent bodyComp
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾