mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-29 12:15:18 +01:00
Improve ServerEnvironment::getRemovedActiveObjects() in many ways
This commit is contained in:
@@ -286,8 +286,8 @@ public:
|
||||
*/
|
||||
void getAddedActiveObjects(PlayerSAO *playersao, s16 radius,
|
||||
s16 player_radius,
|
||||
std::set<u16> ¤t_objects,
|
||||
std::queue<u16> &added_objects);
|
||||
const std::set<u16> ¤t_objects,
|
||||
std::vector<u16> &added_objects);
|
||||
|
||||
/*
|
||||
Find out what new objects have been removed from
|
||||
@@ -295,8 +295,8 @@ public:
|
||||
*/
|
||||
void getRemovedActiveObjects(PlayerSAO *playersao, s16 radius,
|
||||
s16 player_radius,
|
||||
std::set<u16> ¤t_objects,
|
||||
std::queue<std::pair<bool /* gone? */, u16>> &removed_objects);
|
||||
const std::set<u16> ¤t_objects,
|
||||
std::vector<std::pair<bool /* gone? */, u16>> &removed_objects);
|
||||
|
||||
/*
|
||||
Get the next message emitted by some active object.
|
||||
|
||||
Reference in New Issue
Block a user