1
This commit is contained in:
parent
80cd4c08fb
commit
55268bb0fd
@ -380,6 +380,7 @@ void App::ProcessClientMsg(f8::MsgHdr& hdr)
|
|||||||
(hdr,
|
(hdr,
|
||||||
msg.team_uuid(),
|
msg.team_uuid(),
|
||||||
msg.account_id(),
|
msg.account_id(),
|
||||||
|
msg.session_id(),
|
||||||
"",
|
"",
|
||||||
0,
|
0,
|
||||||
msg.proto_version());
|
msg.proto_version());
|
||||||
@ -395,6 +396,7 @@ void App::ProcessClientMsg(f8::MsgHdr& hdr)
|
|||||||
(hdr,
|
(hdr,
|
||||||
msg.team_uuid(),
|
msg.team_uuid(),
|
||||||
msg.account_id(),
|
msg.account_id(),
|
||||||
|
msg.session_id(),
|
||||||
msg.server_info(),
|
msg.server_info(),
|
||||||
1,
|
1,
|
||||||
0);
|
0);
|
||||||
|
@ -91,11 +91,12 @@ std::shared_ptr<Master> MasterMgr::GetConnById(int instance_id)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void MasterMgr::RequestTargetServer(f8::MsgHdr& hdr,
|
void MasterMgr::RequestTargetServer(f8::MsgHdr& hdr,
|
||||||
const std::string& team_id,
|
const std::string& team_id,
|
||||||
const std::string& account_id,
|
const std::string& account_id,
|
||||||
const std::string& server_info,
|
const std::string& session_id,
|
||||||
int is_reconnect,
|
const std::string& server_info,
|
||||||
int proto_version)
|
int is_reconnect,
|
||||||
|
int proto_version)
|
||||||
{
|
{
|
||||||
if (GetRequestBySocket(hdr.socket_handle)) {
|
if (GetRequestBySocket(hdr.socket_handle)) {
|
||||||
return;
|
return;
|
||||||
@ -128,6 +129,7 @@ void MasterMgr::RequestTargetServer(f8::MsgHdr& hdr,
|
|||||||
ss::SS_WSP_RequestTargetServer msg;
|
ss::SS_WSP_RequestTargetServer msg;
|
||||||
msg.set_context_id(curr_context_id_);
|
msg.set_context_id(curr_context_id_);
|
||||||
msg.set_account_id(account_id);
|
msg.set_account_id(account_id);
|
||||||
|
msg.set_session_id(session_id);
|
||||||
msg.set_team_id(team_uuid);
|
msg.set_team_id(team_uuid);
|
||||||
msg.set_server_info(server_info);
|
msg.set_server_info(server_info);
|
||||||
msg.set_is_reconnect(is_reconnect);
|
msg.set_is_reconnect(is_reconnect);
|
||||||
|
@ -30,6 +30,7 @@ class MasterMgr : public a8::Singleton<MasterMgr>
|
|||||||
void RequestTargetServer(f8::MsgHdr& hdr,
|
void RequestTargetServer(f8::MsgHdr& hdr,
|
||||||
const std::string& team_id,
|
const std::string& team_id,
|
||||||
const std::string& account_id,
|
const std::string& account_id,
|
||||||
|
const std::string& session_id,
|
||||||
const std::string& server_info,
|
const std::string& server_info,
|
||||||
int is_reconnect,
|
int is_reconnect,
|
||||||
int proto_version);
|
int proto_version);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user