diff options
author | Mattes D <github@xoft.cz> | 2015-01-28 15:14:05 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-02-04 08:40:50 +0100 |
commit | 360c632e36acfe8b271c3212feef9b6f93623ba1 (patch) | |
tree | 58f1e1d9c7cdf62b2937333661d855462080bc0d /src/Bindings/LuaState.cpp | |
parent | Switched LuaState to use sizeof... (diff) | |
download | cuberite-360c632e36acfe8b271c3212feef9b6f93623ba1.tar cuberite-360c632e36acfe8b271c3212feef9b6f93623ba1.tar.gz cuberite-360c632e36acfe8b271c3212feef9b6f93623ba1.tar.bz2 cuberite-360c632e36acfe8b271c3212feef9b6f93623ba1.tar.lz cuberite-360c632e36acfe8b271c3212feef9b6f93623ba1.tar.xz cuberite-360c632e36acfe8b271c3212feef9b6f93623ba1.tar.zst cuberite-360c632e36acfe8b271c3212feef9b6f93623ba1.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Bindings/LuaState.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Bindings/LuaState.cpp b/src/Bindings/LuaState.cpp index 01d3ac687..4de34c88d 100644 --- a/src/Bindings/LuaState.cpp +++ b/src/Bindings/LuaState.cpp @@ -656,6 +656,18 @@ void cLuaState::Push(cItems * a_Items) +void cLuaState::Push(cLuaTCPLink * a_TCPLink) +{ + ASSERT(IsValid()); + + tolua_pushusertype(m_LuaState, a_TCPLink, "cTCPLink"); + m_NumCurrentFunctionArgs += 1; +} + + + + + void cLuaState::Push(cMonster * a_Monster) { ASSERT(IsValid()); |