Show / Hide Table of Contents

Class BloodstreamSystem

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

Methods

| Improve this Doc View Source

ChangeBloodReagent(EntityUid, String, BloodstreamComponent)

Change what someone's blood is made of, on the fly.

Declaration
public void ChangeBloodReagent(EntityUid uid, string reagent, BloodstreamComponent component = null)
Parameters
Type Name Description
EntityUid uid
System.String reagent
BloodstreamComponent component
| Improve this Doc View Source

FlushChemicals(EntityUid, String, FixedPoint2, BloodstreamComponent)

Declaration
public bool FlushChemicals(EntityUid uid, string excludedReagentID, FixedPoint2 quantity, BloodstreamComponent component = null)
Parameters
Type Name Description
EntityUid uid
System.String excludedReagentID
FixedPoint2 quantity
BloodstreamComponent component
Returns
Type Description
System.Boolean
| Improve this Doc View Source

GetBloodLevelPercentage(EntityUid, BloodstreamComponent)

Declaration
public float GetBloodLevelPercentage(EntityUid uid, BloodstreamComponent component = null)
Parameters
Type Name Description
EntityUid uid
BloodstreamComponent component
Returns
Type Description
System.Single
| Improve this Doc View Source

Initialize()

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

SetBloodLossThreshold(EntityUid, Single, BloodstreamComponent)

Declaration
public void SetBloodLossThreshold(EntityUid uid, float threshold, BloodstreamComponent comp = null)
Parameters
Type Name Description
EntityUid uid
System.Single threshold
BloodstreamComponent comp
| Improve this Doc View Source

SpillAllSolutions(EntityUid, BloodstreamComponent)

BLOOD FOR THE BLOOD GOD

Declaration
public void SpillAllSolutions(EntityUid uid, BloodstreamComponent component = null)
Parameters
Type Name Description
EntityUid uid
BloodstreamComponent component
| Improve this Doc View Source

TryAddToChemicals(EntityUid, Solution, BloodstreamComponent)

Attempt to transfer provided solution to internal solution.

Declaration
public bool TryAddToChemicals(EntityUid uid, Solution solution, BloodstreamComponent component = null)
Parameters
Type Name Description
EntityUid uid
Solution solution
BloodstreamComponent component
Returns
Type Description
System.Boolean
| Improve this Doc View Source

TryModifyBleedAmount(EntityUid, Single, BloodstreamComponent)

Tries to make an entity bleed more or less

Declaration
public bool TryModifyBleedAmount(EntityUid uid, float amount, BloodstreamComponent component = null)
Parameters
Type Name Description
EntityUid uid
System.Single amount
BloodstreamComponent component
Returns
Type Description
System.Boolean
| Improve this Doc View Source

TryModifyBloodLevel(EntityUid, FixedPoint2, BloodstreamComponent)

Attempts to modify the blood level of this entity directly.

Declaration
public bool TryModifyBloodLevel(EntityUid uid, FixedPoint2 amount, BloodstreamComponent component = null)
Parameters
Type Name Description
EntityUid uid
FixedPoint2 amount
BloodstreamComponent component
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Update(Single)

Declaration
public override void Update(float frameTime)
Parameters
Type Name Description
System.Single frameTime
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾