CatStation/Content.Shared/Instruments/SwappableInstrumentComponent.cs
Orvex07 29668eb5a3
Predict swappable instrument verbs and small-minor clean up (#46292)
* ref: swappable instrument + loc

* null! -> default!
2026-10-03 16:46:33 +00:00

16 lines
546 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Instruments;
[RegisterComponent, NetworkedComponent]
public sealed partial class SwappableInstrumentComponent : Component
{
/// <summary>
/// Used to store the different instruments that can be swapped between.
/// LocId = localization key for the display name of the instrument
/// byte 1 = instrument midi program
/// byte 2 = instrument midi bank
/// </summary>
[DataField(required: true)]
public Dictionary<LocId, (byte, byte)> InstrumentList = [];
}