| 447 | } |
| 448 | |
| 449 | void CGameObject::net_Load(IReader& ireader) |
| 450 | { |
| 451 | load(ireader); |
| 452 | |
| 453 | // Script Binder Load --------------------------------------- |
| 454 | #ifdef DEBUG |
| 455 | if (psAI_Flags.test(aiSerialize)) |
| 456 | { |
| 457 | Msg(">> **** Load script object [%s] *****", *cName()); |
| 458 | Msg(">> Before load :: reader position = [%i]", ireader.tell()); |
| 459 | } |
| 460 | |
| 461 | #endif |
| 462 | |
| 463 | CScriptBinder::load(ireader); |
| 464 | |
| 465 | #ifdef DEBUG |
| 466 | |
| 467 | if (psAI_Flags.test(aiSerialize)) |
| 468 | { |
| 469 | Msg(">> After load :: reader position = [%i]", ireader.tell()); |
| 470 | } |
| 471 | #endif |
| 472 | // ---------------------------------------------------------- |
| 473 | #ifdef DEBUG |
| 474 | if (ph_dbg_draw_mask1.test(ph_m1_DbgTrackObject) && _stricmp(PH_DBG_ObjectTrack(), *cName()) == 0) |
| 475 | { |
| 476 | Msg("CGameObject::net_Load obj %s (loaded) %f,%f,%f", PH_DBG_ObjectTrack(), Position().x, Position().y, Position().z); |
| 477 | } |
| 478 | |
| 479 | #endif |
| 480 | } |
| 481 | |
| 482 | void CGameObject::save(NET_Packet& output_packet) {} |
| 483 |
no test coverage detected