namespace Content.Shared.Body.Events; /// /// Raised on an entity to determine their metabolic multiplier. /// [ByRefEvent] public record struct GetMetabolicMultiplierEvent() { /// /// What the metabolism's update rate will be multiplied by. /// public float Multiplier = 1f; } /// /// Raised on an entity to apply their metabolic multiplier to relevant systems. /// Note that you should be storing this value as to not accrue precision errors when it's modified. /// [ByRefEvent] public readonly record struct ApplyMetabolicMultiplierEvent(float Multiplier) { /// /// What the metabolism's update rate will be multiplied by. /// public readonly float Multiplier = Multiplier; }