mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
16 lines
546 B
C#
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 = [];
|
|
}
|