summaryrefslogtreecommitdiffstats
path: root/src/MapManager.h
diff options
context:
space:
mode:
authorandrew <xdotftw@gmail.com>2014-02-23 11:55:55 +0100
committerandrew <xdotftw@gmail.com>2014-02-23 11:55:55 +0100
commit9fa4fa1cc737a0cf9a078956def206c31a4ebd02 (patch)
tree5ac9a90cf48ccfa04da7e2fafe12ac2683a40b32 /src/MapManager.h
parentDocumented and exported cMap (diff)
downloadcuberite-9fa4fa1cc737a0cf9a078956def206c31a4ebd02.tar
cuberite-9fa4fa1cc737a0cf9a078956def206c31a4ebd02.tar.gz
cuberite-9fa4fa1cc737a0cf9a078956def206c31a4ebd02.tar.bz2
cuberite-9fa4fa1cc737a0cf9a078956def206c31a4ebd02.tar.lz
cuberite-9fa4fa1cc737a0cf9a078956def206c31a4ebd02.tar.xz
cuberite-9fa4fa1cc737a0cf9a078956def206c31a4ebd02.tar.zst
cuberite-9fa4fa1cc737a0cf9a078956def206c31a4ebd02.zip
Diffstat (limited to 'src/MapManager.h')
-rw-r--r--src/MapManager.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/MapManager.h b/src/MapManager.h
index 05673c694..5da8be035 100644
--- a/src/MapManager.h
+++ b/src/MapManager.h
@@ -21,11 +21,13 @@ typedef cItemCallback<cMap> cMapCallback;
+// tolua_begin
/** Manages the in-game maps of a single world - Thread safe. */
class cMapManager
{
public:
+ // tolua_end
cMapManager(cWorld * a_World);
@@ -43,7 +45,7 @@ public:
* Returns true if the map was found and the callback called, false if map not found.
* Callback return ignored.
*/
- bool DoWithMap(unsigned int a_ID, cMapCallback & a_Callback);
+ bool DoWithMap(unsigned int a_ID, cMapCallback & a_Callback); // tolua_export
/** Calls the callback for each map.
*
@@ -51,7 +53,7 @@ public:
*/
bool ForEachMap(cMapCallback & a_Callback);
- unsigned int GetNumMaps(void) const;
+ unsigned int GetNumMaps(void) const; // tolua_export
/** Loads the map data from the disk */
void LoadMapData(void);
@@ -70,7 +72,7 @@ private:
cWorld * m_World;
-};
+}; // tolua_export