Add Different Styles for Instruments (#9250)

This commit is contained in:
EmoGarbage404
2022-07-02 04:08:56 -04:00
committed by GitHub
parent 6e0e350e86
commit a633fe7d5e
7 changed files with 107 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
namespace Content.Server.Instruments;
[RegisterComponent]
public sealed 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();
}