2022-03-07 21:45:52 -06:00
|
|
|
using Content.Server.UserInterface;
|
2022-11-16 20:22:11 +01:00
|
|
|
using Content.Shared.MedicalScanner;
|
2022-03-07 21:45:52 -06:00
|
|
|
using Robust.Server.GameObjects;
|
2023-01-12 01:38:39 -05:00
|
|
|
using Robust.Shared.Audio;
|
2022-03-07 21:45:52 -06:00
|
|
|
|
|
|
|
|
namespace Content.Server.Medical.Components
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// After scanning, retrieves the target Uid to use with its related UI.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class HealthAnalyzerComponent : Component
|
2022-03-07 21:45:52 -06:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// How long it takes to scan someone.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField("scanDelay")]
|
|
|
|
|
public float ScanDelay = 0.8f;
|
2023-02-24 19:01:25 -05:00
|
|
|
|
2023-01-12 01:38:39 -05:00
|
|
|
/// <summary>
|
|
|
|
|
/// Sound played on scanning begin
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField("scanningBeginSound")]
|
2023-04-11 17:11:02 -07:00
|
|
|
public SoundSpecifier? ScanningBeginSound;
|
2023-01-12 01:38:39 -05:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Sound played on scanning end
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField("scanningEndSound")]
|
2023-04-11 17:11:02 -07:00
|
|
|
public SoundSpecifier? ScanningEndSound;
|
2022-03-07 21:45:52 -06:00
|
|
|
}
|
|
|
|
|
}
|