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

Function PrintRange

BG3Extender/GameDefinitions/EntitySystem.cpp:80–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80void PrintRange(EntitySystemHelpersBase& eh, char const* name, std::span<ComponentTypeIndex const> inds)
81{
82 if (!inds.empty()) std::cout << "\t" << name << ": ";
83 for (auto i : inds) {
84 std::cout << " " << *eh.GetComponentName(i);
85 }
86 if (!inds.empty()) std::cout << std::endl;
87}
88
89void QueryDescription::DebugPrint(QueryIndex index, EntitySystemHelpersBase& eh) const
90{

Callers 1

DebugPrintMethod · 0.85

Calls 2

GetComponentNameMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected