| 362 | } |
| 363 | |
| 364 | bool CustomFunctionInjector::QueryWrapper(std::function<bool(uint32_t, OsiArgumentDesc *)> const & next, uint32_t handle, OsiArgumentDesc * params) |
| 365 | { |
| 366 | auto it = osiToDivMappings_.find(handle); |
| 367 | if (it != osiToDivMappings_.end()) { |
| 368 | return functions_.Query(it->second, *params); |
| 369 | } else { |
| 370 | return next(handle, params); |
| 371 | } |
| 372 | } |
| 373 | |
| 374 | void CustomFunctionInjector::ExtendStoryHeader(std::wstring const & headerPath) |
| 375 | { |