MCPcopy Create free account
hub / github.com/Norbyte/bg3se / QueryWrapper

Method QueryWrapper

BG3Extender/Osiris/Shared/CustomFunctions.cpp:662–670  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

660}
661
662bool CustomFunctionInjector::QueryWrapper(DivFunctions::CallProc next, uint32_t handle, OsiArgumentDesc * params)
663{
664 auto it = osiToDivMappings_.find(handle);
665 if (it != osiToDivMappings_.end()) {
666 return functions_.Query(it->second, *params);
667 } else {
668 return next(handle, params);
669 }
670}
671
672void CustomFunctionInjector::ExtendStoryHeader(std::wstring const & headerPath)
673{

Callers 1

StaticQueryWrapperMethod · 0.95

Calls 3

QueryMethod · 0.80
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected