mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 21:48:58 +03:00
20 lines
668 B
C#
20 lines
668 B
C#
using Content.Shared.Traits.Assorted.Prototypes;
|
|
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared.Traits.Assorted.Components;
|
|
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
public sealed partial class SingerComponent : Component
|
|
{
|
|
// Traits are server-only, and is this is added via traits, it must be replicated to the client.
|
|
[DataField(required: true), AutoNetworkedField]
|
|
public ProtoId<SingerInstrumentPrototype>? Proto;
|
|
|
|
[DataField(serverOnly: true)]
|
|
public EntProtoId? MidiActionId = "ActionHarpyPlayMidi";
|
|
|
|
[DataField(serverOnly: true)]
|
|
public EntityUid? MidiAction;
|
|
}
|