network_data.h
changeset 619 abab6c8f1af7
parent 543 946badd71033
child 668 1fe298df8526
equal deleted inserted replaced
618:c434c460c064 619:abab6c8f1af7
   208 void NetworkExecuteCommand(CommandPacket *cp);
   208 void NetworkExecuteCommand(CommandPacket *cp);
   209 void NetworkAddCommandQueue(ClientState *cs, CommandPacket *cp);
   209 void NetworkAddCommandQueue(ClientState *cs, CommandPacket *cp);
   210 
   210 
   211 // from network.c
   211 // from network.c
   212 void CloseClient(ClientState *cs);
   212 void CloseClient(ClientState *cs);
   213 void NetworkTextMessage(NetworkAction action, uint16 color, const char *name, const char *str, ...);
   213 void CDECL NetworkTextMessage(NetworkAction action, uint16 color, const char *name, const char *str, ...);
   214 void NetworkGetClientName(char *clientname, size_t size, ClientState *cs);
   214 void NetworkGetClientName(char *clientname, size_t size, ClientState *cs);
   215 uint NetworkCalculateLag(const ClientState *cs);
   215 uint NetworkCalculateLag(const ClientState *cs);
   216 byte NetworkGetCurrentLanguageIndex();
   216 byte NetworkGetCurrentLanguageIndex();
   217 NetworkClientInfo *NetworkFindClientInfoFromIndex(uint16 client_index);
   217 NetworkClientInfo *NetworkFindClientInfoFromIndex(uint16 client_index);
   218 ClientState *NetworkFindClientStateFromIndex(uint16 client_index);
   218 ClientState *NetworkFindClientStateFromIndex(uint16 client_index);