* alert cleanup and API * I expect update loops to be at the top. * Address review * Address review x 2 * Merg my PR * Fix * Update Content.Shared/Alert/AlertsSystem.cs webedit Co-authored-by: Perry Fraser <perryprog@users.noreply.github.com> * FIX THAT TEST FAIL!!!! * Me when I forget to actually give you alerts * Hammedborgar --------- Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com> Co-authored-by: Perry Fraser <perryprog@users.noreply.github.com>
15 lines
357 B
C#
15 lines
357 B
C#
using Robust.Shared.Prototypes;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.Alert;
|
|
|
|
[Serializable, NetSerializable]
|
|
public record struct AlertState
|
|
{
|
|
public short? Severity;
|
|
public (TimeSpan startTime, TimeSpan endTime)? Cooldown;
|
|
public bool AutoRemove;
|
|
public bool ShowCooldown;
|
|
public ProtoId<AlertPrototype> Type;
|
|
}
|