From 18aa9f350eb2d4e33f24ca296db4ed1c9542ec3a Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 5 Jan 2021 11:27:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=98=E6=8A=A5=E6=B7=BB=E5=8A=A0session=5Fi?= =?UTF-8?q?d=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/gameserver/human.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index 208822a..ad6ceff 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -2322,6 +2322,7 @@ void Human::GenBattleReportData(a8::MutableXObject* params) } stats.rank = rank; params->SetVal("account_id", account_id); + params->SetVal("session_id", session_id); params->SetVal("map_id", room->GetMapMeta()->i->map_id()); params->SetVal("map_name", room->GetMapMeta()->i->map_name()); params->SetVal("map_tpl_name", room->GetMapTplName()); @@ -2487,6 +2488,7 @@ void Human::GenZbModeBattleReportData(a8::MutableXObject* params) } stats.rank = rank; params->SetVal("account_id", account_id); + params->SetVal("session_id", session_id); params->SetVal("map_id", room->GetMapMeta()->i->map_id()); params->SetVal("game_time", time(nullptr)); params->SetVal("rank", rank);