Extend in-band world updates to handle moons too.
This commit is contained in:
parent
64774d0d4f
commit
f102fd7f92
5 changed files with 63 additions and 14 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue