From: Manuel A. F. M. <ma...@us...> - 2005-03-31 02:10:31
|
Update of /cvsroot/once/oncecode/src/client In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3828/src/client Modified Files: ocmsghandler.cpp Log Message: Deserializing messages not previously deserialized for easy manipulation Index: ocmsghandler.cpp =================================================================== RCS file: /cvsroot/once/oncecode/src/client/ocmsghandler.cpp,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** ocmsghandler.cpp 30 Mar 2005 00:28:58 -0000 1.31 --- ocmsghandler.cpp 31 Mar 2005 02:10:19 -0000 1.32 *************** *** 84,94 **** RegHandler(new ocHandleEntityCreate, this); ! factory->RegRawSerial<ocHandleEntityCreate>(ocEntityCreateMsgID); RegHandler(new ocHandleEntityChange, this); ! factory->RegRawSerial<ocHandleEntityChange>(ocEntityChangeMsgID); RegHandler(new ocHandleEntityDestroy, this); ! factory->RegRawSerial<ocHandleEntityDestroy>(ocEntityDestroyMsgID); } --- 84,94 ---- RegHandler(new ocHandleEntityCreate, this); ! factory->RegClass<ocEntityCreateMsg>(); RegHandler(new ocHandleEntityChange, this); ! factory->RegClass<ocEntityChangeMsg>(); RegHandler(new ocHandleEntityDestroy, this); ! factory->RegClass<ocEntityDestroyMsg>(); } |