using Content.Shared.Alert; using Robust.Client.GameObjects; namespace Content.Client.Alerts; /// /// Event raised on an entity with alerts in order to allow it to update visuals for the alert sprite entity. /// [ByRefEvent] public record struct UpdateAlertSpriteEvent { public Entity SpriteViewEnt; public AlertPrototype Alert; public UpdateAlertSpriteEvent(Entity spriteViewEnt, AlertPrototype alert) { SpriteViewEnt = spriteViewEnt; Alert = alert; } }