Files
OldThink/Content.Shared/_White/Harpy/HarpySingerComponent.cs

18 lines
652 B
C#
Raw Permalink Normal View History

using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Shared._White.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;
}
}