equal
deleted
inserted
replaced
18 bool NetworkServer_ReadPackets(NetworkClientState *cs); |
18 bool NetworkServer_ReadPackets(NetworkClientState *cs); |
19 void NetworkServer_Tick(bool send_frame); |
19 void NetworkServer_Tick(bool send_frame); |
20 void NetworkServerMonthlyLoop(void); |
20 void NetworkServerMonthlyLoop(void); |
21 void NetworkServerYearlyLoop(void); |
21 void NetworkServerYearlyLoop(void); |
22 |
22 |
|
23 static inline const char* GetPlayerIP(const NetworkClientInfo *ci) {return inet_ntoa(*(struct in_addr *)&ci->client_ip);} |
|
24 |
23 #endif /* ENABLE_NETWORK */ |
25 #endif /* ENABLE_NETWORK */ |
24 |
26 |
25 #endif /* NETWORK_SERVER_H */ |
27 #endif /* NETWORK_SERVER_H */ |