Exemplo n.º 1
0
 /// <summary>
 /// Add a string message that should be shown on the terminal
 /// the next time it shows its Welcome message.
 /// It is possible to chain several of these messages together,
 /// but remember that the terminal window is small.  Keep
 /// the message short so there's room for other nag messages too.
 /// </summary>
 /// <param name="nag">Should the message be shown once, or keep being shown
 /// every time the terminal welcome message appears?</param>
 /// <param name="message">Message to print</param>
 public static void AddNagMessage(NagType nag, string message)
 {
     nags.Add(new NagMessage(nag, message));
 }
Exemplo n.º 2
0
Arquivo: Debug.cs Projeto: KSP-KOS/KOS
 /// <summary>
 /// Add a string message that should be shown on the terminal
 /// the next time it shows its Welcome message.
 /// It is possible to chain several of these messages together,
 /// but remember that the terminal window is small.  Keep
 /// the message short so there's room for other nag messages too.
 /// </summary>
 /// <param name="nag">Should the message be shown once, or keep being shown
 /// every time the terminal welcome message appears?</param>
 /// <param name="message">Message to print</param>
 public static void AddNagMessage(NagType nag, string message)
 {
     nags.Add( new NagMessage(nag, message) );
 }
Exemplo n.º 3
0
 public NagMessage(NagType n, string msg)
 {
     Type    = n;
     Message = msg;
 }
Exemplo n.º 4
0
Arquivo: Debug.cs Projeto: KSP-KOS/KOS
 public NagMessage(NagType n, string msg)
 {
     Type = n;
     Message = msg;
 }