MCPcopy Create free account
hub / github.com/REGoth-project/REGoth / addTopic

Method addTopic

src/ui/MenuItemListbox.cpp:74–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void MenuItemTypes::MenuItemListbox::addTopic(std::string topic_name, const Daedalus::GameState::LogTopic& topic)
75{
76 m_Entries.push_back(new MenuItemListboxEntry(m_Engine, m_BaseMenu, m_ScriptHandle, topic_name, topic));
77}
78
79std::vector<std::string> MenuItemTypes::MenuItemListbox::getSelectedTopicEntries()
80{

Callers 1

initializeLogEntriesMethod · 0.80

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected