using Content.Shared.Singularity.Components; namespace Content.Shared.Singularity.Events; /// /// An event raised whenever a singularity changes its level. /// public sealed class SingularityLevelChangedEvent : EntityEventArgs { /// /// The new level of the singularity. /// public readonly byte NewValue; /// /// The previous level of the singularity. /// public readonly byte OldValue; /// /// The singularity that just changed level. /// public readonly SingularityComponent Singularity; public SingularityLevelChangedEvent(byte newValue, byte oldValue, SingularityComponent singularity) { NewValue = newValue; OldValue = oldValue; Singularity = singularity; } }