Extend in-band world updates to handle moons too.

This commit is contained in:
Adam Ierymenko 2017-01-27 13:50:56 -08:00
parent 64774d0d4f
commit f102fd7f92
5 changed files with 63 additions and 14 deletions

View file

@ -201,6 +201,15 @@ public:
return _upstreamAddresses;
}
/**
* @return Current moons
*/
inline std::vector<World> moons() const
{
Mutex::Lock _l(_lock);
return _moons;
}
/**
* @return Current planet
*/