Class SharedSubdermalImplantSystem
Namespace: Content.Shared.Implants
Assembly: Content.Shared.dll
Syntax
public abstract class SharedSubdermalImplantSystem : EntitySystem
Fields
| Improve this Doc View SourceBaseStorageId
Declaration
public const string BaseStorageId = null
Field Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceAddImplants(EntityUid, IEnumerable<String>)
Add a list of implants to a person. Logs any implant ids that don't have SubdermalImplantComponent.
Declaration
public void AddImplants(EntityUid uid, IEnumerable<String> implants)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | uid | |
IEnumerable<String> | implants |
ForceImplant(EntityUid, EntityUid, SubdermalImplantComponent)
Forces an implant into a person Good for on spawn related code or admin additions
Declaration
public void ForceImplant(EntityUid target, EntityUid implant, SubdermalImplantComponent component)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | target | The entity to be implanted |
EntityUid | implant | The implant |
SubdermalImplantComponent | component | The implant component |
ForceRemove(EntityUid, EntityUid)
Force remove a singular implant
Declaration
public void ForceRemove(EntityUid target, EntityUid implant)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | target | the implanted entity |
EntityUid | implant | the implant |
Initialize()
Declaration
public override void Initialize()
WipeImplants(EntityUid)
Removes and deletes implants by force
Declaration
public void WipeImplants(EntityUid target)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | target | The entity to have implants removed |