Changeset 9250 in orxonox.OLD for branches/proxy/src/lib/network/network_stream.h
- Timestamp:
- Jul 12, 2006, 10:47:32 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/network_stream.h
r9249 r9250 27 27 public: 28 28 PeerInfo() { clear(); } 29 void clear() { userId = 0; isMasterServer = false; socket = NULL; handshake = NULL; lastAckedState = 0; lastRecvedState = 0; connectionMonitor = NULL; } 29 30 void clear() 31 { 32 this->userId = 0; 33 this->nodeType = NET_CLIENT; 34 this->isMasterServer = false; 35 this->isProxyServer = false; 36 this->isClient = false; 37 this->socket = NULL; 38 this->handshake = NULL; 39 this->lastAckedState = 0; 40 this->lastRecvedState = 0; 41 this->connectionMonitor = NULL; 42 } 30 43 31 44 32 45 public: 33 46 int userId; 47 int nodeType; 34 48 bool isMasterServer; 35 49 bool isProxyServer; … … 41 55 int lastRecvedState; 42 56 }; 57 58 43 59 44 60 typedef std::list<Synchronizeable*> SynchronizeableList;
Note: See TracChangeset
for help on using the changeset viewer.