2020-10-10 15:25:13 +02:00
|
|
|
|
using Content.Shared.GameObjects.Components.Body.Part;
|
|
|
|
|
|
using Content.Shared.GameObjects.Components.Damage;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.GameObjects.Components.Body
|
|
|
|
|
|
{
|
|
|
|
|
|
public interface IBodyHealthChangeParams
|
|
|
|
|
|
{
|
|
|
|
|
|
BodyPartType Part { get; }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2020-12-07 14:52:55 +01:00
|
|
|
|
public class BodyDamageChangeParams : DamageChangeParams, IBodyHealthChangeParams
|
2020-10-10 15:25:13 +02:00
|
|
|
|
{
|
2020-12-07 14:52:55 +01:00
|
|
|
|
public BodyDamageChangeParams(BodyPartType part)
|
2020-10-10 15:25:13 +02:00
|
|
|
|
{
|
|
|
|
|
|
Part = part;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public BodyPartType Part { get; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|