MCPcopy Create free account
hub / github.com/Segs/Segs / AddShortcut

Method AddShortcut

Projects/CoX/Servers/MapServer/MapClientSession.cpp:21–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21void MapClientSession::AddShortcut(int index, NetCommand *command)
22{
23 if(m_shortcuts.find(index) != m_shortcuts.end())
24 {
25 qDebug() << "Replacing command" << index << m_shortcuts[index]->m_name <<
26 "->" << command->m_name;
27 }
28 m_shortcuts[index] = command;
29}
30//! @}
31

Callers 1

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected