activateBlock(MapBlock *block, u32 additional_dtime=0) | ServerEnvironment | |
activateObjects(MapBlock *block, u32 dtime_s) | ServerEnvironment | private |
addActiveBlockModifier(ActiveBlockModifier *abm) | ServerEnvironment | |
addActiveObject(std::unique_ptr< ServerActiveObject > object) | ServerEnvironment | |
addActiveObjectRaw(std::unique_ptr< ServerActiveObject > object, const StaticObject *from_static, u32 dtime_s) | ServerEnvironment | private |
addLoadingBlockModifierDef(LoadingBlockModifierDef *lbm) | ServerEnvironment | |
addParticleSpawner(float exptime) | ServerEnvironment | |
addParticleSpawner(float exptime, u16 attached_id) | ServerEnvironment | |
addPlayer(RemotePlayer *player) | ServerEnvironment | |
BlockStatus enum name | ServerEnvironment | |
BS_ACTIVE enum value | ServerEnvironment | |
BS_EMERGING enum value | ServerEnvironment | |
BS_LOADED enum value | ServerEnvironment | |
BS_UNKNOWN enum value | ServerEnvironment | |
clearObjects(ClearObjectsMode mode) | ServerEnvironment | |
continueRaycast(RaycastState *state, PointedThing *result) | Environment | |
createSAO(ActiveObjectType type, v3f pos, const std::string &data) | ServerEnvironment | private |
deactivateBlocksAndObjects() | ServerEnvironment | |
deactivateFarObjects(bool force_delete) | ServerEnvironment | private |
deleteParticleSpawner(u32 id, bool remove_from_object=true) | ServerEnvironment | |
deleteStaticFromBlock(ServerActiveObject *obj, u16 id, u32 mod_reason, bool no_emerge) | ServerEnvironment | private |
DISABLE_CLASS_COPY(Environment) | Environment | |
Environment(IGameDef *gamedef) | Environment | |
findSunlight(v3s16 pos) const | ServerEnvironment | |
getActiveObject(u16 id) | ServerEnvironment | inline |
getActiveObjectMessage(ActiveObjectMessage *dest) | ServerEnvironment | |
getAddedActiveObjects(PlayerSAO *playersao, s16 radius, s16 player_radius, const std::set< u16 > ¤t_objects, std::vector< u16 > &added_objects) | ServerEnvironment | |
getAuthDatabase() | ServerEnvironment | inline |
getBlockStatus(v3s16 blockpos) | ServerEnvironment | |
getDayCount() | Environment | |
getDayNightRatio() | Environment | |
getForceloadedBlocks() | ServerEnvironment | inline |
getGameDef() | ServerEnvironment | inline |
getGameTime() const | ServerEnvironment | inline |
getMap() | ServerEnvironment | virtual |
getMaxLagEstimate() const | ServerEnvironment | inline |
getObjectsInArea(std::vector< ServerActiveObject * > &objects, const aabb3f &box, std::function< bool(ServerActiveObject *obj)> include_obj_cb) | ServerEnvironment | inline |
getObjectsInsideRadius(std::vector< ServerActiveObject * > &objects, const v3f &pos, float radius, std::function< bool(ServerActiveObject *obj)> include_obj_cb) | ServerEnvironment | inline |
getPlayer(const session_t peer_id) | ServerEnvironment | |
getPlayer(const std::string &name, bool match_invalid_peer=false) | ServerEnvironment | |
getPlayerCount() const | ServerEnvironment | inline |
getPlayers() const | ServerEnvironment | inline |
getRemovedActiveObjects(PlayerSAO *playersao, s16 radius, s16 player_radius, const std::set< u16 > ¤t_objects, std::vector< std::pair< bool, u16 > > &removed_objects) | ServerEnvironment | |
getScriptIface() | ServerEnvironment | inline |
getSelectedActiveObjects(const core::line3d< f32 > &shootline_on_map, std::vector< PointedThing > &objects, const std::optional< Pointabilities > &pointabilities) | ServerEnvironment | virtual |
getSendRecommendedInterval() | ServerEnvironment | inline |
getServerMap() | ServerEnvironment | |
getTimeOfDay() | Environment | |
getTimeOfDayF() | Environment | |
init() | ServerEnvironment | |
invalidateActiveObjectObserverCaches() | ServerEnvironment | |
line_of_sight(v3f pos1, v3f pos2, v3s16 *p=nullptr) | Environment | |
loadDefaultMeta() | ServerEnvironment | private |
loadMeta() | ServerEnvironment | |
loadPlayer(RemotePlayer *player, bool *new_player, session_t peer_id, bool is_singleplayer) | ServerEnvironment | |
m_abms | ServerEnvironment | private |
m_active_block_gauge | ServerEnvironment | private |
m_active_block_modifier_interval | ServerEnvironment | private |
m_active_blocks | ServerEnvironment | private |
m_active_blocks_mgmt_interval | ServerEnvironment | private |
m_active_blocks_nodemetadata_interval | ServerEnvironment | private |
m_active_object_gauge | ServerEnvironment | private |
m_active_object_messages | ServerEnvironment | private |
m_added_objects | Environment | |
m_ao_manager | ServerEnvironment | private |
m_auth_database | ServerEnvironment | private |
m_cache_abm_interval | Environment | protected |
m_cache_abm_time_budget | Environment | protected |
m_cache_active_block_mgmt_interval | Environment | protected |
m_cache_enable_shaders | Environment | protected |
m_cache_nodetimer_interval | Environment | protected |
m_day_count | Environment | protected |
m_day_night_ratio_override | Environment | protected |
m_enable_day_night_ratio_override | Environment | protected |
m_fast_active_block_divider | ServerEnvironment | private |
m_game_time | ServerEnvironment | private |
m_game_time_fraction_counter | ServerEnvironment | private |
m_gamedef | Environment | protected |
m_last_clear_objects_time | ServerEnvironment | private |
m_lbm_mgr | ServerEnvironment | private |
m_map | ServerEnvironment | private |
m_max_lag_estimate | ServerEnvironment | private |
m_meta_loaded | ServerEnvironment | private |
m_object_management_interval | ServerEnvironment | private |
m_on_mapblocks_changed_receiver | ServerEnvironment | private |
m_particle_management_interval | ServerEnvironment | private |
m_particle_spawner_attachments | ServerEnvironment | private |
m_particle_spawners | ServerEnvironment | private |
m_particle_spawners_id_last_used | ServerEnvironment | private |
m_player_database | ServerEnvironment | private |
m_players | ServerEnvironment | private |
m_recommended_send_interval | ServerEnvironment | private |
m_script | ServerEnvironment | private |
m_send_recommended_timer | ServerEnvironment | private |
m_server | ServerEnvironment | private |
m_step_time_counter | ServerEnvironment | private |
m_time_conversion_skew | Environment | protected |
m_time_lock | Environment | private |
m_time_of_day | Environment | protected |
m_time_of_day_f | Environment | protected |
m_time_of_day_speed | Environment | protected |
migrateAuthDatabase(const GameParams &game_params, const Settings &cmd_args) | ServerEnvironment | static |
migratePlayersDatabase(const GameParams &game_params, const Settings &cmd_args) | ServerEnvironment | static |
openAuthDatabase(const std::string &name, const std::string &savedir, const Settings &conf) | ServerEnvironment | privatestatic |
openPlayerDatabase(const std::string &name, const std::string &savedir, const Settings &conf) | ServerEnvironment | privatestatic |
processActiveObjectRemove(ServerActiveObject *obj) | ServerEnvironment | private |
removeNode(v3s16 p) | ServerEnvironment | |
removePlayer(RemotePlayer *player) | ServerEnvironment | |
removePlayerFromDatabase(const std::string &name) | ServerEnvironment | |
removeRemovedObjects() | ServerEnvironment | private |
reportMaxLagEstimate(float f) | ServerEnvironment | inline |
saveLoadedPlayers(bool force=false) | ServerEnvironment | |
saveMeta() | ServerEnvironment | |
savePlayer(RemotePlayer *player) | ServerEnvironment | |
saveStaticToBlock(v3s16 blockpos, u16 store_id, ServerActiveObject *obj, const StaticObject &s_obj, u32 mod_reason) | ServerEnvironment | private |
ServerEnvironment(std::unique_ptr< ServerMap > map, Server *server, MetricsBackend *mb) | ServerEnvironment | |
setDayNightRatioOverride(bool enable, u32 value) | Environment | |
setNode(v3s16 p, const MapNode &n) | ServerEnvironment | |
setStaticForActiveObjectsInBlock(v3s16 blockpos, bool static_exists, v3s16 static_block=v3s16(0, 0, 0)) | ServerEnvironment | |
setTimeOfDay(u32 time) | Environment | virtual |
setTimeOfDaySpeed(float speed) | Environment | |
step(f32 dtime) | ServerEnvironment | virtual |
stepTimeOfDay(float dtime) | Environment | |
swapNode(v3s16 p, const MapNode &n) | ServerEnvironment | |
~Environment()=default | Environment | virtual |
~ServerEnvironment() | ServerEnvironment | |