Changeset 6341 in orxonox.OLD for trunk/src/lib/network/network_stream.h
- Timestamp:
- Dec 30, 2005, 1:57:12 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/network/network_stream.h
r6139 r6341 15 15 #include "handshake.h" 16 16 17 #define MAX_CONNECTIONS 1000 18 17 19 class Synchronizeable; 18 20 class NetworkSocket; … … 20 22 class ConnectionMonitor; 21 23 class NetworkProtocol; 24 class NetworkGameManager; 22 25 23 26 typedef std::list<Synchronizeable*> SynchronizeableList; … … 48 51 virtual void processData(); 49 52 53 inline SynchronizeableList::const_iterator getSyncBegin(){ return synchronizeables.begin(); } 54 inline SynchronizeableList::const_iterator getSyncEnd(){ return synchronizeables.end(); } 55 inline int getSyncCount(){ return synchronizeables.size(); } 56 50 57 private: 51 58 NetworkProtocol* networkProtocol; … … 63 70 int maxConnections; 64 71 72 NetworkGameManager* networkGameManager; 73 65 74 void updateConnectionList(); 66 75 };
Note: See TracChangeset
for help on using the changeset viewer.