| 227 | } |
| 228 | |
| 229 | bool AFClassCallBackManager::OnLeaveSceneEvent(const AFGUID& self, const int map_id, const int map_inst_id) |
| 230 | { |
| 231 | for (auto& iter : leave_scene_events_) |
| 232 | { |
| 233 | iter.second(self, map_id, map_inst_id); |
| 234 | } |
| 235 | |
| 236 | return true; |
| 237 | } |
| 238 | |
| 239 | bool AFClassCallBackManager::OnEnterSceneEvent(const AFGUID& self, const int map_id, const int map_inst_id) |
| 240 | { |