1
This commit is contained in:
parent
7f0d1ebfbb
commit
92c7f65686
@ -26,9 +26,10 @@ void JsonDataMgr::Init()
|
|||||||
std::string setting_json_file;
|
std::string setting_json_file;
|
||||||
std::string httpproxy_json_file;
|
std::string httpproxy_json_file;
|
||||||
|
|
||||||
gameserver_cluster_json_file = a8::Format("%s/node%d/game%d.gameserver.cluster.json",
|
gameserver_cluster_json_file = a8::Format("%s/zone%d/node%d/game%d.gameserver.cluster.json",
|
||||||
{
|
{
|
||||||
work_path_,
|
work_path_,
|
||||||
|
App::Instance()->zone_id,
|
||||||
App::Instance()->node_id,
|
App::Instance()->node_id,
|
||||||
GAME_ID
|
GAME_ID
|
||||||
});
|
});
|
||||||
@ -98,9 +99,10 @@ std::shared_ptr<a8::XObject> JsonDataMgr::GetMasterServerClusterConf()
|
|||||||
void JsonDataMgr::Reload()
|
void JsonDataMgr::Reload()
|
||||||
{
|
{
|
||||||
std::string masterserver_cluster_json_file;
|
std::string masterserver_cluster_json_file;
|
||||||
masterserver_cluster_json_file = a8::Format("%s/node%d/game%d.masterserver.cluster.json",
|
masterserver_cluster_json_file = a8::Format("%s/zone%d/node%d/game%d.masterserver.cluster.json",
|
||||||
{
|
{
|
||||||
work_path_,
|
work_path_,
|
||||||
|
App::Instance()->zone_id,
|
||||||
App::Instance()->node_id,
|
App::Instance()->node_id,
|
||||||
GAME_ID
|
GAME_ID
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user