summaryrefslogtreecommitdiffstats
path: root/src/Bindings/LuaState.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-04-23 22:52:34 +0200
committerMattes D <github@xoft.cz>2015-04-23 22:52:34 +0200
commit0bfcd625566f965d993eb8e58be6c73c3714bb08 (patch)
tree79efad21cec681afa82487a7a8a8fe39320ebbf0 /src/Bindings/LuaState.h
parentDigging up a clay block spawns 4 clay items. (diff)
parentRefactored ManualBindings' callbacks using templates. (diff)
downloadcuberite-0bfcd625566f965d993eb8e58be6c73c3714bb08.tar
cuberite-0bfcd625566f965d993eb8e58be6c73c3714bb08.tar.gz
cuberite-0bfcd625566f965d993eb8e58be6c73c3714bb08.tar.bz2
cuberite-0bfcd625566f965d993eb8e58be6c73c3714bb08.tar.lz
cuberite-0bfcd625566f965d993eb8e58be6c73c3714bb08.tar.xz
cuberite-0bfcd625566f965d993eb8e58be6c73c3714bb08.tar.zst
cuberite-0bfcd625566f965d993eb8e58be6c73c3714bb08.zip
Diffstat (limited to 'src/Bindings/LuaState.h')
-rw-r--r--src/Bindings/LuaState.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Bindings/LuaState.h b/src/Bindings/LuaState.h
index b77556117..a6e121eb7 100644
--- a/src/Bindings/LuaState.h
+++ b/src/Bindings/LuaState.h
@@ -50,6 +50,7 @@ class cItems;
class cLuaServerHandle;
class cLuaTCPLink;
class cLuaUDPEndpoint;
+class cMapManager;
class cMonster;
class cPickup;
class cPlayer;
@@ -68,6 +69,7 @@ struct HTTPTemplateRequest;
struct TakeDamageInfo;
typedef cBoundingBox * pBoundingBox;
+typedef cMapManager * pMapManager;
typedef cPluginManager * pPluginManager;
typedef cRoot * pRoot;
typedef cScoreboard * pScoreboard;
@@ -248,6 +250,7 @@ public:
void GetStackValue(int a_StackPos, eWeather & a_Value);
void GetStackValue(int a_StackPos, int & a_Value);
void GetStackValue(int a_StackPos, pBoundingBox & a_Value);
+ void GetStackValue(int a_StackPos, pMapManager & a_Value);
void GetStackValue(int a_StackPos, pPluginManager & a_Value);
void GetStackValue(int a_StackPos, pRoot & a_Value);
void GetStackValue(int a_StackPos, pScoreboard & a_Value);