This commit is contained in:
aozhiwei 2020-09-24 16:03:53 +08:00
parent 3f6b4322c5
commit 27b183a873

View File

@ -34,6 +34,15 @@ public:
f8::NetMsgHandler* handler = f8::GetNetMsgHandler(&HandlerMgr::Instance()->guild_msghandler,
forward_msg.msgid());
if (handler && handler->handlerid == HID_Guild) {
hdr.seqid = 0;
hdr.msgid = forward_msg.msgid();
hdr.socket_handle = socket_handle;
hdr.ip_saddr = 0;
hdr.buf = forward_msg.payload().data();
hdr.buflen = forward_msg.payload().size();
hdr.offset = 0;
hdr.hum = nullptr;
hdr.user_data = &forward_msg;
ProcessNetMsg(handler, guild, hdr);
}
}