Sends a full packet out the the server Resets the send_size variable Server only
| 6516 | // Resets the send_size variable |
| 6517 | // Server only |
| 6518 | void MultiSendFullPacket(int slot, int flags) { |
| 6519 | MULTI_ASSERT_NOMESSAGE(Netgame.local_role == LR_SERVER); |
| 6520 | |
| 6521 | if (Multi_send_size[slot] < 1) |
| 6522 | return; |
| 6523 | |
| 6524 | MULTI_ASSERT_NOMESSAGE(NetPlayers[slot].flags & NPF_CONNECTED); |
| 6525 | nw_Send(&NetPlayers[slot].addr, Multi_send_buffer[slot], Multi_send_size[slot], flags); |
| 6526 | Multi_send_size[slot] = 0; |
| 6527 | } |
| 6528 | |
| 6529 | // Sends a full packet out the the server |
| 6530 | // Resets the send_size variable |
no test coverage detected