Changeset 9404 in orxonox.OLD for branches/proxy/src/lib/network/monitor/network_monitor.h
- Timestamp:
- Jul 24, 2006, 10:05:52 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/monitor/network_monitor.h
r9396 r9404 65 65 inline int getPlayerNumber() { return this->playerNumber; } 66 66 67 /** @returns true if there are still free network slots available */67 /** @returns true if there are still free network slots available at the local node*/ 68 68 inline bool gotFreeSlots() { return (this->localNode->getPlayerNumber() < SharedNetworkData::getInstance()->getMaxPlayer())?true:false; } 69 69 /** @param node node to be checked for slots @returns true if there are still free network slots available at this node */ … … 89 89 90 90 int playerNumber; //!< total number of players in the game 91 int connectionNumber; //!< total number of connections at this localhost 91 92 }; 92 93
Note: See TracChangeset
for help on using the changeset viewer.