Example #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));
 }
Example #2
0
File: Debug.cs Project: 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) );
 }
Example #3
0
 public NagMessage(NagType n, string msg)
 {
     Type    = n;
     Message = msg;
 }
Example #4
0
File: Debug.cs Project: KSP-KOS/KOS
 public NagMessage(NagType n, string msg)
 {
     Type = n;
     Message = msg;
 }