Add cLuaWindow OnClicked Callback (#3901)
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user