1
This commit is contained in:
parent
fe5b4a67ec
commit
4079a7807d
@ -70,6 +70,20 @@ MasterSvr* MasterSvrMgr::GetConnById(int instance_id)
|
||||
|
||||
void MasterSvrMgr::RequestTargetServer(f8::MsgHdr& hdr, const std::string& team_id, const std::string& account_id)
|
||||
{
|
||||
#if GAME_ID == 9003
|
||||
{
|
||||
TargetConn* conn = TargetConnMgr::Instance()->RecreateTargetConn(
|
||||
"10.10.4.4",
|
||||
8951
|
||||
);
|
||||
if (conn) {
|
||||
conn->ForwardClientMsgEx(hdr);
|
||||
return;
|
||||
} else {
|
||||
abort();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
if (GetContextIdBySocket(hdr.socket_handle) != 0) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user