Add cLuaWindow OnClicked Callback (#3901)

This commit is contained in:
Lane Kolbly
2017-08-17 16:27:43 +02:00
committed by Mattes D
parent 238f5bb338
commit 1ec85a2b2c
15 changed files with 156 additions and 3 deletions
+11
View File
@@ -875,6 +875,17 @@ void cLuaState::Push(const char * a_Value)
void cLuaState::Push(const cItem & a_Item)
{
ASSERT(IsValid());
auto c = new cItem(a_Item);
tolua_pushusertype_and_takeownership(m_LuaState, c, "cItem");
}
void cLuaState::Push(const cNil & a_Nil)
{
ASSERT(IsValid());