Exemplo n.º 1
0
        public static string GetValue(PresetColumn targetValue, string identifierValue, PresetColumn identifierType = PresetColumn.Name)
        {
            for (int i = 0; i < currentPresetCount; i++)
            {
                if (allPresets[(int)identifierType, i] == identifierValue)
                {
                    if (targetValue == PresetColumn.Index)
                    {
                        return(i.ToString());
                    }
                    else
                    {
                        return(allPresets[(int)targetValue, i]);
                    }
                }
            }

            return("");
        }
Exemplo n.º 2
0
 public static int TableValue(PresetColumn column)
 {
     return((int)column);
 }