| 465 | } |
| 466 | |
| 467 | void AFClassCallBackManager::OnTableDelete(AFDelaySyncTable& table, const int row) |
| 468 | { |
| 469 | auto iter = table.row_list_.find(row); |
| 470 | if (iter == table.row_list_.end()) |
| 471 | { |
| 472 | AFDelaySyncRow row_data(row); |
| 473 | row_data.need_clear_ = true; |
| 474 | |
| 475 | table.row_list_.insert(std::make_pair(row, row_data)); |
| 476 | } |
| 477 | else |
| 478 | { |
| 479 | iter->second.need_clear_ = true; |
| 480 | iter->second.node_list_.clear(); |
| 481 | } |
| 482 | } |
| 483 | |
| 484 | void AFClassCallBackManager::OnTableRowUpdate(AFDelaySyncTable& table, const int row, AFINode* pNode) |
| 485 | { |