Class BodySystem
Inheritance
System.Object
BodySystem
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
|
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
|
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