Changeset 8327 for code/trunk/src/libraries/network/synchronisable
- Timestamp:
- Apr 25, 2011, 8:22:36 PM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/network6 (added) merged: 7823-7825,7875,7878,7881-7882,7898,7900,7931,8315
- Property svn:mergeinfo changed
-
code/trunk/src/libraries/network/synchronisable/Synchronisable.cc
r7801 r8327 295 295 * @param mem pointer to the bytestream 296 296 * @param mode same as in getData 297 * @param forceCallback FIXME - add doc!297 * @param forceCallback this makes updateData call each callback 298 298 * @return true/false 299 299 */ … … 372 372 * This function determines, wheter the object should be saved to the bytestream (according to its syncmode/direction) 373 373 * @param id gamestate id 374 * @param mode FIXME - add doc!374 * @param mode Synchronisation mode (toclient, toserver or bidirectional) 375 375 * @return true/false 376 376 */ 377 377 bool Synchronisable::doSync(int32_t id, uint8_t mode) 378 378 { 379 if(mode==0x0) 380 mode=state_; 379 // if(mode==0x0) 380 // mode=state_; 381 assert(mode!=0x0); 381 382 return ( (this->objectMode_ & mode)!=0 && (!syncList_.empty() ) ); 382 383 }
Note: See TracChangeset
for help on using the changeset viewer.