summaryrefslogtreecommitdiff
path: root/src/script/cpp_api/s_env.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/cpp_api/s_env.h')
-rw-r--r--src/script/cpp_api/s_env.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/cpp_api/s_env.h b/src/script/cpp_api/s_env.h
index 51cf15036..33bd81ab3 100644
--- a/src/script/cpp_api/s_env.h
+++ b/src/script/cpp_api/s_env.h
@@ -37,6 +37,9 @@ public:
// After initializing mapgens
void environment_OnMapgenInit(MapgenParams *mgparams);
+ //called on player event
+ void player_event(ServerActiveObject* player, std::string type);
+
void initializeEnvironment(ServerEnvironment *env);
};