diff options
Diffstat (limited to 'network_data.h')
-rw-r--r-- | network_data.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/network_data.h b/network_data.h index 2143be541..13da75823 100644 --- a/network_data.h +++ b/network_data.h @@ -203,11 +203,11 @@ void NetworkSend_uint64(Packet *packet, uint64 data); void NetworkSend_string(Packet *packet, const char* data); void NetworkSend_Packet(Packet *packet, NetworkClientState *cs); -uint8 NetworkRecv_uint8(Packet *packet); -uint16 NetworkRecv_uint16(Packet *packet); -uint32 NetworkRecv_uint32(Packet *packet); -uint64 NetworkRecv_uint64(Packet *packet); -void NetworkRecv_string(Packet *packet, char* buffer, size_t size); +uint8 NetworkRecv_uint8(NetworkClientState *cs, Packet *packet); +uint16 NetworkRecv_uint16(NetworkClientState *cs, Packet *packet); +uint32 NetworkRecv_uint32(NetworkClientState *cs, Packet *packet); +uint64 NetworkRecv_uint64(NetworkClientState *cs, Packet *packet); +void NetworkRecv_string(NetworkClientState *cs, Packet *packet, char* buffer, size_t size); Packet *NetworkRecv_Packet(NetworkClientState *cs, NetworkRecvStatus *status); bool NetworkSend_Packets(NetworkClientState *cs); |