static int set_luaBinder(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); LuaFramework.LuaManager obj = (LuaFramework.LuaManager)o; LuaInterface.IBinder arg0 = (LuaInterface.IBinder)ToLua.CheckObject <LuaInterface.IBinder>(L, 2); obj.luaBinder = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index luaBinder on a nil value")); } }
static int get_luaBinder(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); LuaFramework.LuaManager obj = (LuaFramework.LuaManager)o; LuaInterface.IBinder ret = obj.luaBinder; ToLua.PushObject(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index luaBinder on a nil value")); } }