2021-08-24 00:50:39 -06:00
|
|
|
|
using Content.Shared.Body.Part;
|
2021-06-09 22:19:39 +02:00
|
|
|
|
using Content.Shared.Damage;
|
2020-10-10 15:25:13 +02:00
|
|
|
|
|
2021-06-09 22:19:39 +02:00
|
|
|
|
namespace Content.Server.Body
|
2020-10-10 15:25:13 +02:00
|
|
|
|
{
|
2021-06-16 16:44:38 +02:00
|
|
|
|
// TODO BODY: Remove and pretend it never existed
|
2020-10-10 15:25:13 +02:00
|
|
|
|
public interface IBodyHealthChangeParams
|
|
|
|
|
|
{
|
|
|
|
|
|
BodyPartType Part { get; }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-16 16:44:38 +02:00
|
|
|
|
// TODO BODY: Remove and pretend it never existed
|
2021-08-24 00:50:39 -06: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; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|