游戏王残局简化版

Annotation For 残局文料/残局改名.lua
Login

Annotation For 残局文料/残局改名.lua

Lines of 残局文料/残局改名.lua from check-in 3a58d8f06c that are changed by the sequence of edits moving toward check-in 0893c58ef4:

                         1: package.path = [[.\lua_lib\?.lua;]] .. package.path
                         2: package.cpath = [[.\lua_lib\?.dll;]] .. package.cpath
                         3: local 字集码互转库 = require("u8_to_a")
                         4: local u8 = 字集码互转库.u8_to_a
                         5: local f = require(u8("常用库"))
                         6: local 简文件库 = require("lfs")
                         7: local d_5 = {}
                         8: --~ 目对
                         9: function d_5.残局改名(o1)
                        10:   local k1_9
                        11:   --~ 文件排
                        12:   k1_9 = f.历文(o1.文件目, 简文件库.dir)
                        13:   k1_9 = f.历排(k1_9, f.全筛文, "%.lua$")
                        14:   k1_9 = f.历排(k1_9, f.读文件)
                        15:   
                        16:   end
                        17: d_5.目对 = {
                        18:   ["文件目"] = "../single/"
                        19:   , ["数据库路"] = [[D:\install\YGOPro\cards.cdb]]
                        20:   }
                        21: for o1, o2 in pairs(d_5.目对) do
                        22:   d_5.目对[o1] = f.操类(o2, "string", u8)
                        23:   end
                        24: d_5.残局改名(d_5.目对)