Minetest 5.9.0-dev
 
Loading...
Searching...
No Matches
LoadingBlockModifierDef Struct Reference

#include <serverenvironment.h>

+ Inheritance diagram for LoadingBlockModifierDef:
+ Collaboration diagram for LoadingBlockModifierDef:

Public Member Functions

virtual ~LoadingBlockModifierDef ()=default
 
virtual void trigger (ServerEnvironment *env, v3s16 p, MapNode n, float dtime_s)
 

Public Attributes

std::set< std::string > trigger_contents
 
std::string name
 
bool run_at_every_load = false
 

Constructor & Destructor Documentation

◆ ~LoadingBlockModifierDef()

virtual LoadingBlockModifierDef::~LoadingBlockModifierDef ( )
virtualdefault

Member Function Documentation

◆ trigger()

virtual void LoadingBlockModifierDef::trigger ( ServerEnvironment env,
v3s16  p,
MapNode  n,
float  dtime_s 
)
inlinevirtual

Reimplemented in LuaLBM.

Member Data Documentation

◆ name

std::string LoadingBlockModifierDef::name

◆ run_at_every_load

bool LoadingBlockModifierDef::run_at_every_load = false

◆ trigger_contents

std::set<std::string> LoadingBlockModifierDef::trigger_contents

The documentation for this struct was generated from the following file: