Changeset 9290 in orxonox.OLD for branches/proxy/src/lib/network/monitor
- Timestamp:
- Jul 14, 2006, 12:19:31 PM (19 years ago)
- Location:
- branches/proxy/src/lib/network/monitor
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/monitor/network_monitor.cc
r9289 r9290 99 99 this->localNode->addClient(pInfo); 100 100 else if( pInfo->isProxyServer()) 101 { 101 102 this->localNode->addProxyServer(pInfo); 103 // create a new node, since a proxy can connect clients again 104 NetworkNode* node = new NetworkNode(pInfo); 105 this->nodeList.push_back(node); 106 } 102 107 else if( pInfo->isMasterServer()) 108 { 103 109 this->localNode->addMasterServer(pInfo); 110 } 104 111 } 105 112 -
branches/proxy/src/lib/network/monitor/network_monitor.h
r9287 r9290 52 52 inline int getPlayerNumber() { return this->playerNumber; } 53 53 54 /** @returns true if there are still free network slots available */ 55 inline bool gotFreeSlots() { return (this->playerNumber < NET_MAX_CONNECTIONS)?true:false; } 56 void getServerWithFreeSlots() { } 57 54 58 55 59 void showGUI();
Note: See TracChangeset
for help on using the changeset viewer.