6
StarHorizon_Public/Content.Shared/_DV/Harpy/HarpySingerComponent.cs
2025-11-12 10:55:00 +03:00

18 lines
649 B
C#

using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Shared._DV.Harpy
{
[RegisterComponent, NetworkedComponent]
public sealed partial class HarpySingerComponent : Component
{
[DataField("midiActionId", serverOnly: true,
customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
public string? MidiActionId = "ActionHarpyPlayMidi";
[DataField("midiAction", serverOnly: true)] // server only, as it uses a server-BUI event !type
public EntityUid? MidiAction;
}
}