#include <serverenvironment.h>
Public Member Functions | |
void | update (std::vector< PlayerSAO * > &active_players, s16 active_block_range, s16 active_object_range, std::set< v3s16 > &blocks_removed, std::set< v3s16 > &blocks_added, std::set< v3s16 > &extra_blocks_added) |
bool | contains (v3s16 p) const |
auto | size () const |
void | clear () |
void | remove (v3s16 p) |
Public Attributes | |
std::set< v3s16 > | m_list |
std::set< v3s16 > | m_abm_list |
std::set< v3s16 > | m_forceloaded_list |
|
inline |
References m_list.
Referenced by ServerEnvironment::deactivateBlocksAndObjects().
|
inline |
Referenced by ServerEnvironment::deactivateFarObjects(), and ServerEnvironment::getBlockStatus().
|
inline |
References m_abm_list, m_list, and p().
Referenced by ServerEnvironment::step().
|
inline |
References m_list.
Referenced by ServerEnvironment::~ServerEnvironment(), and ServerEnvironment::step().
void ActiveBlockList::update | ( | std::vector< PlayerSAO * > & | active_players, |
s16 | active_block_range, | ||
s16 | active_object_range, | ||
std::set< v3s16 > & | blocks_removed, | ||
std::set< v3s16 > & | blocks_added, | ||
std::set< v3s16 > & | extra_blocks_added ) |
References BS, fillRadiusBlock(), fillViewConeBlock(), floatToInt(), getNodeBlockPos(), m_abm_list, m_forceloaded_list, m_list, and p().
Referenced by ServerEnvironment::step().
std::set<v3s16> ActiveBlockList::m_abm_list |
Referenced by remove(), ServerEnvironment::step(), and update().
std::set<v3s16> ActiveBlockList::m_forceloaded_list |
Referenced by ServerEnvironment::getForceloadedBlocks(), and update().
std::set<v3s16> ActiveBlockList::m_list |
Referenced by clear(), contains(), remove(), size(), ServerEnvironment::step(), and update().