Module:HooksHandler:修订历史

跳转到导航 跳转到搜索

差异选择:选中要对比的修订的单选按钮,然后按Enter键或下面的按钮。
说明:(当前)=与最后修订的差异,(之前)=与上个修订的差异,=小编辑。

2025年9月20日 (星期六)

  • 当前之前 17:592025年9月20日 (六) 17:59 ZheiZhei 留言 贡献 640字节 +640 创建页面,内容为“local module = {} function module.init() local hooks = {} local hookTrigger = function (name, ...) if not hooks[name] then return ... end local args = {...} for _, func in ipairs(hooks[name]) do if type(func) == 'function' then local retn = {func(unpack(args))} if #retn > 0 then for idx, val in ipairs(retn) do args[idx] = val end end end end return unpack(args) end return function (list) for name, func in pairs…”