Changeset 6090 in orxonox.OLD for branches/network/src/lib/network/synchronizeable.h
- Timestamp:
- Dec 13, 2005, 4:29:32 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/synchronizeable.h
r6060 r6090 39 39 bool isServer(); 40 40 bool isOutOfSync(); 41 void setUniqueI d( int id ){ uniqueID = id; }41 void setUniqueID( int id ){ uniqueID = id; } 42 42 int getUniqueID() const { return uniqueID; }; 43 43 void requestSync( int hostID ){ this->synchronizeRequests.push_back( hostID ); } … … 45 45 inline int getOwner(){ return owner; } 46 46 inline void setOwner(int owner){ this->owner = owner; } 47 47 48 48 inline void setNetworkStream(NetworkStream* stream) { this->networkStream = stream; } 49 49 … … 59 59 int state; 60 60 std::list<int> synchronizeRequests; 61 61 62 62 NetworkStream* networkStream; 63 63
Note: See TracChangeset
for help on using the changeset viewer.