代碼基本上是仿照文檔寫的。 $room_config=array(); $task = new Worker(); $task->count = 1; $task->onWorkerStart = function($task) { global $room_config; ReloadRoomConfig(); //定時(shí)檢測(cè)房間設(shè)置 $check_room_interva...