summaryrefslogtreecommitdiffstats
path: root/src/Bindings
diff options
context:
space:
mode:
authorandrew <xdotftw@gmail.com>2014-03-01 13:03:16 +0100
committerandrew <xdotftw@gmail.com>2014-03-01 13:03:16 +0100
commita28e5eca1835e1be868c3bcd22d87e3cfae2f547 (patch)
tree278c6e7ac3743414539944fd2df6420e1ec651ed /src/Bindings
parentExported and documented cScoreboard (diff)
downloadcuberite-a28e5eca1835e1be868c3bcd22d87e3cfae2f547.tar
cuberite-a28e5eca1835e1be868c3bcd22d87e3cfae2f547.tar.gz
cuberite-a28e5eca1835e1be868c3bcd22d87e3cfae2f547.tar.bz2
cuberite-a28e5eca1835e1be868c3bcd22d87e3cfae2f547.tar.lz
cuberite-a28e5eca1835e1be868c3bcd22d87e3cfae2f547.tar.xz
cuberite-a28e5eca1835e1be868c3bcd22d87e3cfae2f547.tar.zst
cuberite-a28e5eca1835e1be868c3bcd22d87e3cfae2f547.zip
Diffstat (limited to 'src/Bindings')
-rw-r--r--src/Bindings/ManualBindings.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Bindings/ManualBindings.cpp b/src/Bindings/ManualBindings.cpp
index 461186d3b..3c3e78d25 100644
--- a/src/Bindings/ManualBindings.cpp
+++ b/src/Bindings/ManualBindings.cpp
@@ -2583,6 +2583,10 @@ void ManualBindings::Bind(lua_State * tolua_S)
tolua_beginmodule(tolua_S, "cMapManager");
tolua_function(tolua_S, "DoWithMap", tolua_DoWithID<cMapManager, cMap, &cMapManager::DoWithMap>);
tolua_endmodule(tolua_S);
+
+ tolua_beginmodule(tolua_S, "cScoreboard");
+ tolua_function(tolua_S, "ForEachObjective", tolua_ForEach<cScoreboard, cObjective, &cScoreboard::ForEachObjective>);
+ tolua_endmodule(tolua_S);
tolua_beginmodule(tolua_S, "cPlugin");
tolua_function(tolua_S, "Call", tolua_cPlugin_Call);