feat(mods): Lua 沙箱 Mod 运行时——generation 注册表、注册 API、事件、热重载与回滚、文件监听防抖(含测试)

This commit is contained in:
NianGao Dev
2026-08-15 23:04:51 +08:00
parent 07c086e127
commit 38f015ba22
9 changed files with 644 additions and 0 deletions

3
go.mod
View File

@@ -5,8 +5,11 @@ go 1.26.4
require gopkg.in/yaml.v3 v3.0.1
require (
github.com/fsnotify/fsnotify v1.10.1 // indirect
github.com/go-gl/gl v0.0.0-20260331235117-4566fea9a276 // indirect
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20260802143932-8fa725040a18 // indirect
github.com/klauspost/compress v1.19.2 // indirect
github.com/ojrac/opensimplex-go v1.0.2 // indirect
github.com/yuin/gopher-lua v1.1.2 // indirect
golang.org/x/sys v0.13.0 // indirect
)