Show / Hide Table of Contents

Class SmokeSystem

Handles non-atmos solution entities similar to puddles.

Inheritance
System.Object
SmokeSystem
Namespace: Content.Server.Fluids.EntitySystems
Assembly: Content.Server.dll
Syntax
public sealed class SmokeSystem : EntitySystem

Methods

| Improve this Doc View Source

Initialize()

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

SmokeReact(EntityUid, Single, SmokeComponent, Nullable<TransformComponent>)

Does the relevant smoke reactions for an entity for the specified exposure duration.

Declaration
public void SmokeReact(EntityUid uid, float frameTime, SmokeComponent component = null, TransformComponent? xform = null)
Parameters
Type Name Description
EntityUid uid
System.Single frameTime
SmokeComponent component
System.Nullable<TransformComponent> xform
| Improve this Doc View Source

Start(EntityUid, SmokeComponent, Solution, Single)

Sets up a smoke component for spreading.

Declaration
public void Start(EntityUid uid, SmokeComponent component, Solution solution, float duration)
Parameters
Type Name Description
EntityUid uid
SmokeComponent component
Solution solution
System.Single duration
| Improve this Doc View Source

TryAddSolution(EntityUid, SmokeComponent, Solution)

Adds the specified solution to the relevant smoke solution.

Declaration
public void TryAddSolution(EntityUid uid, SmokeComponent component, Solution solution)
Parameters
Type Name Description
EntityUid uid
SmokeComponent component
Solution solution
| 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
☀
☾