32 lines
1.1 KiB
C#
32 lines
1.1 KiB
C#
using Content.Shared.DisplacementMap;
|
|
using Content.Shared.Humanoid;
|
|
using Content.Shared.Item;
|
|
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Prototypes;
|
|
namespace Content.Shared._Sunrise.Medical.Surgery;
|
|
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState(true)]
|
|
public sealed partial class CustomLimbVisualizerComponent : Component
|
|
{
|
|
[DataField, AutoNetworkedField]
|
|
public Dictionary<HumanoidVisualLayers, NetEntity?> Layers = [];
|
|
|
|
[DataField]
|
|
public HashSet<HumanoidVisualLayers> CachedLayers = [];
|
|
|
|
[DataField]
|
|
public Dictionary<HumanoidVisualLayers, DisplacementData> Displacements = [];
|
|
}
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
public sealed partial class CustomLimbComponent : Component
|
|
{
|
|
[DataField, AutoNetworkedField]
|
|
public EntityUid? Item;
|
|
}
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
public sealed partial class CustomLimbMarkerComponent : Component
|
|
{
|
|
[DataField, AutoNetworkedField]
|
|
public EntityUid? VirtualPart;
|
|
}
|