mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-10 02:41:18 +03:00
14 lines
491 B
C#
14 lines
491 B
C#
namespace Content.Server.Instruments;
|
|
|
|
[RegisterComponent]
|
|
public sealed partial class SwappableInstrumentComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Used to store the different instruments that can be swapped between.
|
|
/// string = display name of the instrument
|
|
/// byte 1 = instrument midi program
|
|
/// byte 2 = instrument midi bank
|
|
/// </summary>
|
|
[DataField("instrumentList", required: true)]
|
|
public Dictionary<string, (byte, byte)> InstrumentList = new();
|
|
}
|