- Timestamp:
- Dec 11, 2010, 4:12:21 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network4/src/libraries/network/synchronisable/Synchronisable.cc
r7754 r7755 222 222 * length of varx: size saved int syncvarlist 223 223 * @param mem pointer to allocated memory with enough size 224 * @param sizes FIXME - add doc!224 * @param sizes vector containing sizes of all objects in gamestate (to be appended) 225 225 * @param id gamestateid of the gamestate to be saved (important for priorities) 226 226 * @param mode defines the direction in which the data will be send/received 227 227 * 0x1: server->client 228 * 0x2: client->server (not recommended)228 * 0x2: client->server 229 229 * 0x3: bidirectional 230 230 * @return true: if !doSync or if everything was successfully saved … … 270 270 //tempsize += (*i)->getSize( mode ); 271 271 } 272 assert(tempsize!=0); // if this happens an empty object (with no variables) would be transmitted 272 273 // COUT(4) << endl; 273 274
Note: See TracChangeset
for help on using the changeset viewer.