namespace Content.Shared.Damage
{
/// <summary>
/// Data class with information on how the value of a
/// single <see cref="DamageTypePrototype"/> has changed.
/// </summary>
public struct DamageChangeData
/// Type of damage that changed.
public DamageTypePrototype Type;
/// The new current value for that damage.
public int NewValue;
/// How much the health value changed from its last value (negative is heals, positive is damage).
public int Delta;
public DamageChangeData(DamageTypePrototype type, int newValue, int delta)
Type = type;
NewValue = newValue;
Delta = delta;
}