| 7571 | } |
| 7572 | |
| 7573 | void MultiSendGreetings(uint32_t id) { |
| 7574 | int size = 0; |
| 7575 | uint8_t data[MAX_GAME_DATA_SIZE]; |
| 7576 | int count = 0; |
| 7577 | // Client sends this only |
| 7578 | MULTI_ASSERT_NOMESSAGE(Netgame.local_role != LR_SERVER); |
| 7579 | size = START_DATA(MP_GREETINGS_FROM_CLIENT, data, &count); |
| 7580 | MultiAddUint(id, data, &count); |
| 7581 | mprintf(0, "Saying hello to the server\n"); |
| 7582 | END_DATA(count, data, size); |
| 7583 | nw_Send(&Netgame.server_address, data, count, 0); |
| 7584 | } |
| 7585 | |
| 7586 | void MultiDoGreetings(uint8_t *data, network_address *addr) { |
| 7587 | int count = 0; |
no test coverage detected