| 237 | } |
| 238 | |
| 239 | bool AFClassCallBackManager::OnEnterSceneEvent(const AFGUID& self, const int map_id, const int map_inst_id) |
| 240 | { |
| 241 | for (auto& iter : enter_scene_events_) |
| 242 | { |
| 243 | iter.second(self, map_id, map_inst_id); |
| 244 | } |
| 245 | |
| 246 | return true; |
| 247 | } |
| 248 | |
| 249 | bool AFClassCallBackManager::OnMoveEvent(const AFGUID& self, const AFVector3D& old_pos, const AFVector3D& new_pos) |
| 250 | { |