21 void step(
float dtime,
23 bool registerObject(std::unique_ptr<ServerActiveObject> obj)
override;
29 std::vector<ServerActiveObject *> &result,
32 std::vector<ServerActiveObject *> &result,
35 const v3f &player_pos,
const std::string &player_name,
36 f32 radius, f32 player_radius,
37 const std::set<u16> ¤t_objects,
38 std::vector<u16> &added_objects);
Definition activeobjectmgr.h:18
Definition serveractiveobject.h:41
Definition activeobjectmgr.h:15
~ActiveObjectMgr() override
Definition activeobjectmgr.cpp:13
void getObjectsInArea(const aabb3f &box, std::vector< ServerActiveObject * > &result, std::function< bool(ServerActiveObject *obj)> include_obj_cb)
Definition activeobjectmgr.cpp:134
void step(float dtime, const std::function< void(ServerActiveObject *)> &f) override
Definition activeobjectmgr.cpp:34
void getObjectsInsideRadius(const v3f &pos, float radius, std::vector< ServerActiveObject * > &result, std::function< bool(ServerActiveObject *obj)> include_obj_cb)
Definition activeobjectmgr.cpp:116
void invalidateActiveObjectObserverCaches()
Definition activeobjectmgr.cpp:106
void removeObject(u16 id) override
Definition activeobjectmgr.cpp:93
void clearIf(const std::function< bool(ServerActiveObject *, u16)> &cb)
Definition activeobjectmgr.cpp:22
bool registerObject(std::unique_ptr< ServerActiveObject > obj) override
Definition activeobjectmgr.cpp:49
void getAddedActiveObjectsAroundPos(const v3f &player_pos, const std::string &player_name, f32 radius, f32 player_radius, const std::set< u16 > ¤t_objects, std::vector< u16 > &added_objects)
Definition activeobjectmgr.cpp:151
core::aabbox3d< f32 > aabb3f
Definition irr_aabb3d.h:11
core::vector3df v3f
Definition irr_v3d.h:11
Definition activeobjectmgr.cpp:11