CatStation/Content.Client/Explosion/ExplosionVisualsTexturesComponent.cs
Ewanderer d7f7a91183
Documentation of e api (#44395)
* documentation pass on content.server -> E!

* APi pass on content.server for the E folder.

* documentation pass on content.shared for e.

* Apply suggestions from code review

Co-authored-by: SlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: SlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: SlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com>

* fixing documentation according to review part 1.

* typo

* Very minor fixes

* And a short explanation about EUI

---------

Co-authored-by: SlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com>
Co-authored-by: SlamBamActionman <slambamactionman@gmail.com>
2026-07-01 08:38:04 +00:00

29 lines
949 B
C#

using Robust.Client.Graphics;
using Robust.Shared.Graphics;
namespace Content.Client.Explosion;
/// <summary>
/// The client side visuals system for explosions.
/// </summary>
[RegisterComponent]
public sealed partial class ExplosionVisualsTexturesComponent : Component
{
/// <summary>
/// Uid of the client-side point light entity for this explosion.
/// </summary>
public EntityUid LightEntity;
/// <summary>
/// How intense an explosion needs to be at a given tile in order to progress to the next fire-intensity RSI state. See also <see cref="FireFrames"/>
/// </summary>
public float IntensityPerState;
/// <summary>
/// The textures used for the explosion fire effect. Each fire-state is associated with an explosion
/// intensity range, and each stat itself has several textures.
/// </summary>
public List<Texture[]> FireFrames = new();
public Color? FireColor;
}