对外接口
contriner_interface
loading = 1, –加载中
starting = 2, –启动成功
fix_exited = 3, –确定退出
exited = 4, –退出
start_failed = 5, –启动失败
function M.get_server_state()
描述
获取服务状态
参数
- tabname string 表名
返回值
- number
function M.hook_start_after(func)
描述
hook 可热更服务start_after
参数
- func function 执行函数
返回值
function M.hook_fix_exit_after(func)
描述
hook 可热更服务fix_exit_after
参数
- func function 执行函数
返回值
function M.close_hotreload()
描述
hook 关闭此模块热更支持(新服务替换旧服务)
参数
返回值
对外接口
https://huahua132.github.io/2024/06/29/skynet_fly_api_word/contriner/contriner_interface/