using System.Numerics;
using Content.Shared.StatusEffectNew.Components;
using Robust.Shared.Audio;
using Robust.Shared.GameStates;
using Robust.Shared.Utility;
namespace Content.Shared.Weather;
///
/// Used only in conjure with for status effects applied to map entities.
/// Contains basic information about all types of weather effects.
///
[RegisterComponent, NetworkedComponent, Access(typeof(SharedWeatherSystem))]
public sealed partial class WeatherStatusEffectComponent : Component
{
///
/// A texture that will tile and render as a weather effect across the entire map.
///
[DataField(required: true)]
public SpriteSpecifier Sprite = default!;
///
/// Tint that will be applied to the weather texture.
///
[DataField]
public Color? Color;
///
/// Weather scrolling speed.
///
[DataField]
public Vector2? Scrolling;
///
/// Sound to play on the affected areas.
///
[DataField]
public SoundSpecifier? Sound;
///
/// Client audio stream.
/// Not used on the server.
///
[ViewVariables]
public EntityUid? Stream;
}