using Robust.Shared.GameStates;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
namespace Content.Shared.Chemistry.Components;
///
/// This is used for entities which are currently being affected by smoke.
/// Manages the gradual metabolism every second.
///
[RegisterComponent, NetworkedComponent, AutoGenerateComponentPause]
public sealed partial class SmokeAffectedComponent : Component
{
///
/// The time at which the next smoke metabolism will occur.
///
[DataField(customTypeSerializer: typeof(TimeOffsetSerializer))]
[AutoPausedField]
public TimeSpan NextSecond;
///
/// The smoke that is currently affecting this entity.
///
[DataField]
public EntityUid SmokeEntity;
}