forked from monadgroup/FLParser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Insert.cs
41 lines (38 loc) · 1.43 KB
/
Insert.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
namespace Monad.FLParser
{
public class Insert
{
public const int MaxSlotCount = 10;
public int Id { get; set; } = 0;
public string Name { get; set; } = "";
public uint Color { get; set; } = 0x000000;
public ushort Icon { get; set; } = 0;
public Enums.InsertFlags Flags { get; set; } = 0;
public int Volume { get; set; } = 100;
public int Pan { get; set; } = 0;
public int StereoSep { get; set; } = 0;
public int LowLevel { get; set; } = 0;
public int BandLevel { get; set; } = 0;
public int HighLevel { get; set; } = 0;
public int LowFreq { get; set; } = 0;
public int BandFreq { get; set; } = 0;
public int HighFreq { get; set; } = 0;
public int LowWidth { get; set; } = 0;
public int BandWidth { get; set; } = 0;
public int HighWidth { get; set; } = 0;
public bool[] Routes { get; set; } = new bool[Project.MaxInsertCount];
public int[] RouteVolumes { get; set; } = new int[Project.MaxInsertCount];
public InsertSlot[] Slots { get; set; } = new InsertSlot[MaxSlotCount];
public Insert()
{
for (var i = 0; i < MaxSlotCount; i++)
{
Slots[i] = new InsertSlot();
}
for (var i = 0; i < Project.MaxInsertCount; i++)
{
RouteVolumes[i] = 12800;
}
}
}
}