Example #1
0
        private int GetSelectedFeature(TCP2_Config config)
        {
            for (var i = 0; i < features.Length; i++)
            {
                if (config.HasFeature(features[i]))
                {
                    return(i);
                }
            }

            return(-1);
        }
Example #2
0
 public override bool Highlighted(TCP2_Config config)
 {
     return(config.HasFeature(keyword));
 }