--[[ 删除那些用不到的方法 --]] local LuaRedirect = {} local NeedRedirectLua = { "Battle/Expression/ExpEntity/System/ExpSystemManager", "Battle/Expression/ExpEntity/ExpEntity", "Battle/Expression/ExpLevel/ExpLevelManager", "Battle/Expression/ExpMissile/ExpMissile", "Battle/Expression/ExpUpdateManager", "BI/BIManager", } local nilfunc = function() end do for i,str in ipairs(NeedRedirectLua) do local table = require(str) for key,fuc in pairs(table) do if type(fuc) == "function" then table[key] = nilfunc end end end end return LuaRedirect