public void ReadTxt(string DirName, string FileName) // 특정 텍스트파일 전체의 내용을 읽어 명령을 실행합니다. { string[] s = TxtEditor.ReadAllLines(DirName, FileName); for (int i = 0; i < s.Length; i++) { ReadLine(s[i]); } }
private static void SaveLog() //로그를 저장합니다. { if (DebugMode != BluePrintMode.NULL) { TxtEditor.AppendLinesToTop("Logs", "DebugLog", new string[] { LogNameWriter.TypeLine + "=" + CurrentLog }); } else { TxtEditor.AppendLinesToTop("Logs", "DebugLog", new string[] { LogNameWriter.TypeLine }); } SavedTimer = 30; }