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

Function sendLocation

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

Source from the content-addressed store, hash-verified

1868}
1869
1870void sendLocation(MapClientSession &cl, VisitLocation location)
1871{
1872 qWarning("SendLocation, unknown affect on client");
1873 qCDebug(logSlashCommand) << "sendLocation: " << location.m_location_name;
1874 vLocationList location_list;
1875
1876 //Test locations in Atlas Park
1877 location_list.push_back(VisitLocation("Statue1", glm::vec3(126.5,27.4315,-300)));
1878 location_list.push_back(VisitLocation("Patrol_Easy_1_City_01_01", glm::vec3(461.0,0,778)));
1879 location_list.push_back(VisitLocation("Patrol_Easy_5_City_01_01", glm::vec3(1099.5,0,124.5)));
1880
1881 cl.addCommand<SendLocations>(location_list);
1882}
1883// For dealing damage to an entity
1884void changeHP(Entity &e, float val)
1885{

Callers 2

cmdHandler_SendLocationsFunction · 0.85
register_GenericTypesMethod · 0.85

Calls 2

VisitLocationClass · 0.85
push_backMethod · 0.80

Tested by

no test coverage detected