core refactor.

This commit is contained in:
lhhxxxxx
2022-06-05 17:57:05 +08:00
parent c63194c885
commit e3573d7880
8 changed files with 20 additions and 21 deletions

View File

@@ -16,7 +16,7 @@ asst::StartUpTask::StartUpTask(AsstCallback callback, void* callback_arg)
bool asst::StartUpTask::set_params(const json::value& params)
{
m_start_game_task_ptr->set_param(static_cast<ServerType>(params.get("server_type", 0)))
m_start_game_task_ptr->set_param(params.get("server_type", ""))
.set_enable(params.get("enable",false));
return true;
}