public static void SetFlag(string flag, bool value) { JollyDebug self = JollyDebug.Instance; int index = self.IndexOfFlag(flag); if (index >= 0) { self.FlagValues[index] = value; } }
public static bool GetFlag(string flag) { JollyDebug self = JollyDebug.Instance; int index = self.IndexOfFlag(flag); if (index < 0) { return(false); } return(!self.FlagValues[index]); }