private string GetFixedCode() { string FixedCodeFile = m_strDir + "\\Plugins\\LuaCheck\\FixedCode.txt"; string str = FileFolderHelper.FileToString(FixedCodeFile); if (str == "") { MessageBox.Show("缺少必要的文件:" + FixedCodeFile); } return(str); }
public void Run() { string str = GetFixedCode(); if (str == "") { return; } m_codebuilder.Add(str); m_codebuilder.AddEventList(); m_codebuilder.AddTableInCode(); m_codebuilder.AddFunction(); // FileFolderHelper.StringToFile(m_codebuilder.Code, m_strLuaHeaderFileName); }