MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / getAllInputButtonNames

Method getAllInputButtonNames

src/Core/Input/InputInitializer.cpp:316–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314 }
315
316 std::vector<std::string> InputManager::getAllInputButtonNames() const
317 {
318 std::vector<std::string> buttonsNames;
319 buttonsNames.reserve(m_inputs.size());
320 for (const auto& button : m_inputs)
321 {
322 buttonsNames.push_back(button.second->getName());
323 }
324 return buttonsNames;
325 }
326} // namespace obe::Input

Callers 2

makeCombinationMethod · 0.95
InputManager.cppFile · 0.80

Calls 4

reserveMethod · 0.45
sizeMethod · 0.45
push_backMethod · 0.45
getNameMethod · 0.45

Tested by

no test coverage detected