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

Function cmdHandler_SetSpawnLocation

Projects/CoX/Servers/MapServer/SlashCommand.cpp:1541–1550  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1539}
1540
1541void cmdHandler_SetSpawnLocation(const QStringList &params, MapClientSession &sess)
1542{
1543 if(params.size() == 0)
1544 {
1545 // No SpawnLocation given, bail.
1546 return;
1547 }
1548 const QString spawnLocation = params.join(" ");
1549 sess.m_current_map->setSpawnLocation(*sess.m_ent, spawnLocation);
1550}
1551
1552void cmdHandler_LFG(const QStringList &/*params*/, MapClientSession &sess)
1553{

Callers

nothing calls this directly

Calls 2

setSpawnLocationMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected