Changeset 9327 in orxonox.OLD for branches/proxy/src/lib/network/network_stream.h
- Timestamp:
- Jul 18, 2006, 4:29:59 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/network_stream.h
r9303 r9327 17 17 #include "udp_server_socket.h" 18 18 #include "peer_info.h" 19 20 #include "shared_network_data.h" 19 21 20 22 class Synchronizeable; … … 52 54 inline bool isClient() const { return (this->pInfo->nodeType == NET_CLIENT)? true:false; } 53 55 // inline bool isActive() const { return this->bActive; } 54 inline int getMaxConnections(){ return NET_MAX_CONNECTIONS; }56 inline int getMaxConnections(){ return SharedNetworkData::getInstance()->getMaxPlayer(); } 55 57 56 58 /* functions for the peerInfo information retreival */
Note: See TracChangeset
for help on using the changeset viewer.