Files
OldThink/Content.Server/Chemistry/ReactionEffects/SmokeAreaReactionEffect.cs
2021-06-09 22:19:39 +02:00

19 lines
548 B
C#

#nullable enable
using Content.Server.Chemistry.Components;
using JetBrains.Annotations;
using Robust.Shared.GameObjects;
using Robust.Shared.Serialization.Manager.Attributes;
namespace Content.Server.Chemistry.ReactionEffects
{
[UsedImplicitly]
[DataDefinition]
public class SmokeAreaReactionEffect : AreaReactionEffect
{
protected override SolutionAreaEffectComponent? GetAreaEffectComponent(IEntity entity)
{
return entity.GetComponentOrNull<SmokeSolutionAreaEffectComponent>();
}
}
}