Exemple #1
0
        private string GetFixedCode()
        {
            string FixedCodeFile = m_strDir + "\\Plugins\\LuaCheck\\FixedCode.txt";
            string str           = FileFolderHelper.FileToString(FixedCodeFile);

            if (str == "")
            {
                MessageBox.Show("缺少必要的文件:" + FixedCodeFile);
            }
            return(str);
        }
Exemple #2
0
        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);
        }