◆ clear()
| void TestServerActiveObjectMgr::clear |
( |
| ) |
|
|
inline |
◆ compareObjects()
◆ compareObjectsInArea()
| void TestServerActiveObjectMgr::compareObjectsInArea |
( |
const aabb3f & | box | ) |
|
|
inline |
◆ compareObjectsInsideRadius()
| void TestServerActiveObjectMgr::compareObjectsInsideRadius |
( |
const v3f & | pos, |
|
|
float | radius ) |
|
inline |
◆ empty()
| bool TestServerActiveObjectMgr::empty |
( |
| ) |
|
|
inline |
◆ getActiveObject()
◆ getAddedActiveObjectsAroundPos()
template<class T >
| void TestServerActiveObjectMgr::getAddedActiveObjectsAroundPos |
( |
T && | arg | ) |
|
|
inline |
◆ getFreeId()
| u16 TestServerActiveObjectMgr::getFreeId |
( |
| ) |
const |
|
inline |
◆ getObjectsInAreaNaive()
| void TestServerActiveObjectMgr::getObjectsInAreaNaive |
( |
const aabb3f & | box, |
|
|
std::vector< ServerActiveObject * > & | result ) |
|
inline |
◆ getObjectsInsideRadius()
template<class T >
| void TestServerActiveObjectMgr::getObjectsInsideRadius |
( |
T && | arg | ) |
|
|
inline |
◆ getObjectsInsideRadiusNaive()
| void TestServerActiveObjectMgr::getObjectsInsideRadiusNaive |
( |
const v3f & | pos, |
|
|
float | radius, |
|
|
std::vector< ServerActiveObject * > & | result ) |
|
inline |
◆ randomId()
template<class T >
| u16 TestServerActiveObjectMgr::randomId |
( |
T & | random | ) |
|
|
inline |
◆ registerObject()
| bool TestServerActiveObjectMgr::registerObject |
( |
std::unique_ptr< ServerActiveObject > | obj | ) |
|
|
inline |
◆ removeObject()
| void TestServerActiveObjectMgr::removeObject |
( |
u16 | id | ) |
|
|
inline |
◆ sortById()
| static void TestServerActiveObjectMgr::sortById |
( |
std::vector< ServerActiveObject * > & | saos | ) |
|
|
inlinestatic |
◆ updateObjectPos()
| void TestServerActiveObjectMgr::updateObjectPos |
( |
u16 | id, |
|
|
const v3f & | pos ) |
|
inline |
◆ compare_by_id
| auto TestServerActiveObjectMgr::compare_by_id |
|
staticconstexpr |
Initial value:= [](auto *sao1, auto *sao2) -> bool {
return sao1->getId() < sao2->getId();
}
Referenced by compareObjects(), and sortById().
◆ ids
| std::vector<u16> TestServerActiveObjectMgr::ids |
|
private |
◆ saomgr
Referenced by clear(), compareObjectsInArea(), compareObjectsInsideRadius(), getActiveObject(), getAddedActiveObjectsAroundPos(), getFreeId(), getObjectsInAreaNaive(), getObjectsInsideRadius(), getObjectsInsideRadiusNaive(), registerObject(), removeObject(), and updateObjectPos().
The documentation for this class was generated from the following file: