跳到主要内容

hotfix_handler

执行热更操作

  • 将文件内容拷贝到文件路径后,再执行热更函数。

声明

string hotfix_handler(string file_path, mixed file_content, function success_callback)

参数

参数名描述
file_path文件路径
file_content文件内容
success_callback热更函数

返回值

热更成功返回nil,热更失败返回失败原因

使用方式

返回文档