2022-10-23 00:46:28 +02:00
|
|
|
|
using Content.Shared.Body.Part;
|
|
|
|
|
|
using Robust.Shared.Audio;
|
|
|
|
|
|
using Robust.Shared.Serialization;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.Body.Components;
|
|
|
|
|
|
|
|
|
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
|
public sealed class BodyComponentState : ComponentState
|
|
|
|
|
|
{
|
2022-11-27 19:25:55 +01:00
|
|
|
|
public readonly BodyPartSlot? Root;
|
2022-10-23 00:46:28 +02:00
|
|
|
|
public readonly SoundSpecifier GibSound;
|
|
|
|
|
|
|
2022-11-27 19:25:55 +01:00
|
|
|
|
public BodyComponentState(BodyPartSlot? root, SoundSpecifier gibSound)
|
2022-10-23 00:46:28 +02:00
|
|
|
|
{
|
|
|
|
|
|
Root = root;
|
|
|
|
|
|
GibSound = gibSound;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|