MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / showEntityClassInTree

Function showEntityClassInTree

radiant/ui/einspector/Algorithm.cpp:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26void showEntityClassInTree(const std::string& entityClassName)
27{
28 if (auto eclass = GlobalEntityClassManager().findClass(entityClassName); eclass)
29 {
30 GlobalCommandSystem().executeCommand("EntityClassTree", cmd::ArgumentList{ eclass->getDeclName() });
31 }
32}
33
34}
35

Callers 2

_onShowInDefTreeMethod · 0.85
_onShowInDefTreeMethod · 0.85

Calls 3

getDeclNameMethod · 0.80
findClassMethod · 0.45
executeCommandMethod · 0.45

Tested by

no test coverage detected