123456789101112131415161718 |
- -- 服务端使用的http协议
- PROTO_ROOT = ""
- -- 服务端热更新使用
- package.loaded[PROTO_ROOT .. "proto-lib.all_http"] = nil
- local all_http = require(PROTO_ROOT .. "proto-lib.all_http")
- local c2s = all_http.c2s
- local s2c = all_http.s2c
- local root = {
- c2s = c2s,
- s2c = s2c
- }
- return root
|