- Timestamp:
- Jan 6, 2009, 9:39:41 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/network/packet/DeleteObjects.cc
r2506 r2575 61 61 if(number==0) 62 62 return false; 63 COUT( 3) << "sending DeleteObjects: ";63 COUT(4) << "sending DeleteObjects: "; 64 64 unsigned int size = sizeof(ENUM::Type) + sizeof(uint32_t)*(number+1); 65 65 data_ = new uint8_t[size]; … … 73 73 // assert(temp<10000); //ugly hack 74 74 *reinterpret_cast<uint32_t*>(tdata) = temp; 75 COUT( 3) << temp << " ";75 COUT(4) << temp << " "; 76 76 tdata += sizeof(uint32_t); 77 77 } 78 COUT( 3) << std::endl;78 COUT(4) << std::endl; 79 79 return true; 80 80 } … … 87 87 bool DeleteObjects::process(){ 88 88 for(unsigned int i=0; i<*(unsigned int *)(data_+_QUANTITY); i++){ 89 COUT( 3) << "deleting object with id: " << *(uint32_t*)(data_+_OBJECTIDS+i*sizeof(uint32_t)) << std::endl;89 COUT(4) << "deleting object with id: " << *(uint32_t*)(data_+_OBJECTIDS+i*sizeof(uint32_t)) << std::endl; 90 90 Synchronisable::deleteObject( *(uint32_t*)(data_+_OBJECTIDS+i*sizeof(uint32_t)) ); 91 91 }
Note: See TracChangeset
for help on using the changeset viewer.