Ask the server to tell me about the objects
| 274 | |
| 275 | // Ask the server to tell me about the objects |
| 276 | void MultiSendRequestForObjects() { |
| 277 | int size; |
| 278 | uint8_t data[MAX_GAME_DATA_SIZE]; |
| 279 | int count = 0; |
| 280 | |
| 281 | mprintf(0, "Sending request for objects\n"); |
| 282 | |
| 283 | size = START_DATA(MP_REQUEST_OBJECTS, data, &count); |
| 284 | MultiAddByte(Player_num, data, &count); |
| 285 | END_DATA(count, data, size); |
| 286 | |
| 287 | nw_SendReliable(NetPlayers[Player_num].reliable_socket, data, count); |
| 288 | } |
| 289 | |
| 290 | #define SERVER_DISCONNECT_TIME 8.0 |
| 291 |
no test coverage detected