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

Function showMapMenu

Projects/CoX/Servers/MapServer/DataHelpers.cpp:1606–1615  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1604}
1605
1606void showMapMenu(MapClientSession &sess)
1607{
1608 // if has_location == true, then player cannot be more than 400
1609 // units away from pos or window will close
1610 bool has_location = false;
1611 glm::vec3 location = sess.m_ent->m_entity_data.m_pos;
1612 QString msg_body = createMapMenu();
1613 sendContactDialogClose(sess);
1614 showMapXferList(sess, has_location, location, msg_body);
1615}
1616
1617void setAlignment(Entity &e, QString align)
1618{

Callers 2

cmdHandler_MapXferListFunction · 0.85
register_GenericTypesMethod · 0.85

Calls 3

createMapMenuFunction · 0.85
sendContactDialogCloseFunction · 0.85
showMapXferListFunction · 0.85

Tested by

no test coverage detected