C# 클래스 kOS.Safe.Utilities.Debug

파일 보기 프로젝트 열기: KSP-KOS/KOS

공개 메소드들

메소드 설명
AddNagMessage ( NagType nag, string message ) : void

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.

GetCodeFragment ( List codes ) : string

This is copied almost verbatim from ProgramContext, It's here to help debug.

GetPendingNags ( ) : List

Gets a list of all the pending nag messages, and in the process of doing that it clears out any that were set to just NAGONCE.

비공개 메소드들

메소드 설명
Debug ( ) : System.Collections.Generic

메소드 상세

AddNagMessage() 공개 정적인 메소드

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.
public static AddNagMessage ( NagType nag, string message ) : void
nag NagType Should the message be shown once, or keep being shown /// every time the terminal welcome message appears?
message string Message to print
리턴 void

GetCodeFragment() 공개 정적인 메소드

This is copied almost verbatim from ProgramContext, It's here to help debug.
public static GetCodeFragment ( List codes ) : string
codes List
리턴 string

GetPendingNags() 공개 정적인 메소드

Gets a list of all the pending nag messages, and in the process of doing that it clears out any that were set to just NAGONCE.
public static GetPendingNags ( ) : List
리턴 List