| 208 | } |
| 209 | |
| 210 | void CClient::SendInfo(int Conn) |
| 211 | { |
| 212 | CMsgPacker MsgVer(NETMSG_CLIENTVER, true); |
| 213 | MsgVer.AddRaw(&m_ConnectionId, sizeof(m_ConnectionId)); |
| 214 | MsgVer.AddInt(GameClient()->DDNetVersion()); |
| 215 | MsgVer.AddString(GameClient()->DDNetVersionStr()); |
| 216 | SendMsg(Conn, &MsgVer, MSGFLAG_VITAL); |
| 217 | |
| 218 | if(IsSixup()) |
| 219 | { |
| 220 | CMsgPacker Msg(NETMSG_INFO, true); |
| 221 | Msg.AddString(GAME_NETVERSION7, 128); |
| 222 | Msg.AddString(Config()->m_Password); |
| 223 | Msg.AddInt(GameClient()->ClientVersion7()); |
| 224 | SendMsg(Conn, &Msg, MSGFLAG_VITAL | MSGFLAG_FLUSH); |
| 225 | return; |
| 226 | } |
| 227 | |
| 228 | CMsgPacker Msg(NETMSG_INFO, true); |
| 229 | Msg.AddString(GameClient()->NetVersion()); |
| 230 | Msg.AddString(m_aPassword); |
| 231 | SendMsg(Conn, &Msg, MSGFLAG_VITAL | MSGFLAG_FLUSH); |
| 232 | } |
| 233 | |
| 234 | void CClient::SendEnterGame(int Conn) |
| 235 | { |
nothing calls this directly
no test coverage detected