srvHelp.lua 396 B

1234567891011121314151617181920212223
  1. --[[
  2. Descripttion:
  3. version:
  4. Author: Neo,Huang
  5. Date: 2022-07-04 11:24:54
  6. LastEditors: Neo,Huang
  7. LastEditTime: 2022-07-04 17:42:52
  8. --]]
  9. require "skynet.manager"
  10. local skynet = require "skynet"
  11. local param = table.pack(...)
  12. skynet.start(
  13. function()
  14. local steward = skynet.localname(".steward")
  15. if steward then
  16. skynet.send(steward, "lua", table.unpack(param))
  17. skynet.exit()
  18. end
  19. end
  20. )