Esempio n. 1
0
        private void ToLua(string outDllPath)
        {
            string bridgeDllPath = Utility.Move(tempDirectory_, bridgeDllPath_);
            var    translator    = new LuaTranslater(folder_, output_, outDllPath, bridgeDllPath);

            translator.Translate();
            Save(translator);
        }
Esempio n. 2
0
        private void ToLua(string outDllPath)
        {
            var translator = new LuaTranslater(folder_, output_, outDllPath);

            translator.SearchPaths.AddRange(GetSearchPaths());
            translator.XmlMetaFiles.Add(Utility.GetCurrentDirectory(kSystemMeta));
            translator.XmlMetaFiles.AddRange(metas_);
            translator.Defines = defines_;
            translator.Translate();
            Save(translator);
        }
Esempio n. 3
0
 private void ToLua(string outDllPath) {
     string bridgeDllPath = Utility.Move(tempDirectory_, bridgeDllPath_);
     var translator = new LuaTranslater(folder_, output_, outDllPath, bridgeDllPath);
     translator.Translate();
     Save(translator);
 }