game_server.enginedaemonsSystemDregister_hook本页总览register_hook 注册系统事件回调函数 声明 bool register_hook(string op, function func, bool call_if_exist = false) 参数 参数名描述op事件名称func回调函数call_if_exist如果系统事件的回调函数已存在,是否覆盖并立即执行(true: 覆盖并立即执行,false: 不覆盖;默认值: false) 返回值 true - 已存在,false - 未存在 使用方式 返回文档