using Robust.Shared.GameStates;
using Robust.Shared.Utility;
#region Starlight
using Content.Shared.Starlight.Utility;
using Robust.Shared.Serialization;
#endregion Starlight
namespace Content.Shared.Weapons.Hitscan.Components;
///
/// Provides basic visuals for hitscan weapons - works with
///
[RegisterComponent, NetworkedComponent]
public sealed partial class HitscanBasicVisualsComponent : Component
{
///
/// The muzzle flash from the hitscan weapon.
///
[DataField]
public SpriteSpecifier? MuzzleFlash;
///
/// The "travel" sprite, this gets repeated until it hits the target.
///
[DataField]
public SpriteSpecifier? TravelFlash;
///
/// The sprite that gets shown on the impact of the laser.
///
[DataField]
public SpriteSpecifier? ImpactFlash;
// Starlight start
///
/// The bullet that gets displayed for the hitscan rapidly for the client
///
[DataField]
public ExtendedSpriteSpecifier? Bullet;
///
/// The speed of the projectile to display if Bullet has a value
///
[DataField]
public float Speed = 315f; // 9mm bullet speed
// Starlight end
}