示例#1
0
文件: Debug.cs 项目: tfischer4765/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));
 }
示例#2
0
文件: Debug.cs 项目: 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) );
 }
示例#3
0
文件: Debug.cs 项目: tfischer4765/KOS
 public NagMessage(NagType n, string msg)
 {
     Type    = n;
     Message = msg;
 }
示例#4
0
文件: Debug.cs 项目: KSP-KOS/KOS
 public NagMessage(NagType n, string msg)
 {
     Type = n;
     Message = msg;
 }