namespace Content.Shared.Body.Events;
// TODO REFACTOR THIS
// This will cause rates to slowly drift over time due to floating point errors.
// Instead, the system that raised this should trigger an update and subscribe to get-modifier events.
[ByRefEvent]
public readonly record struct ApplyMetabolicMultiplierEvent(
EntityUid Uid,
float Multiplier,
bool Apply)
{
///
/// The entity whose metabolism is being modified.
///
public readonly EntityUid Uid = Uid;
///
/// What the metabolism's update rate will be multiplied by.
///
public readonly float Multiplier = Multiplier;
///
/// If true, apply the multiplier. If false, revert it.
///
public readonly bool Apply = Apply;
}