Esempio n. 1
0
        private static string MaskToString(KerbalismSituations sit, uint situationMask, uint biomeMask)
        {
            string result = string.Empty;

            if (((int)sit & situationMask) == 0)
            {
                return(result);
            }
            result = Lib.SpacesOnCaps(sit.ToString().Replace("Srf", ""));
            if (((int)sit & biomeMask) != 0)
            {
                result += " (Biomes)";
            }
            return(result);
        }
Esempio n. 2
0
 public override string ToString()
 {
     return(sit.ToString());
 }