#include <serverenvironment.h>
◆ ~LoadingBlockModifierDef()
virtual LoadingBlockModifierDef::~LoadingBlockModifierDef |
( |
| ) |
|
|
virtualdefault |
◆ trigger()
virtual void LoadingBlockModifierDef::trigger |
( |
ServerEnvironment * | env, |
|
|
MapBlock * | block, |
|
|
const std::unordered_set< v3s16 > & | positions, |
|
|
float | dtime_s ) |
|
inlinevirtual |
Called to invoke LBM.
- Parameters
-
env | environment |
block | the block in question |
positions | set of node positions (block-relative!) |
dtime_s | game time since last deactivation |
Reimplemented in LuaLBM.
◆ name
std::string LoadingBlockModifierDef::name |
◆ run_at_every_load
bool LoadingBlockModifierDef::run_at_every_load = false |
◆ trigger_contents
std::vector<std::string> LoadingBlockModifierDef::trigger_contents |
The documentation for this struct was generated from the following file: