static int set_OnCenterDataChanged(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UI.UIScrollWrap obj = (UI.UIScrollWrap)o; System.Action <UI.UIScrollWrap, int> arg0 = null; LuaTypes funcType2 = LuaDLL.lua_type(L, 2); if (funcType2 != LuaTypes.LUA_TFUNCTION) { arg0 = (System.Action <UI.UIScrollWrap, int>)ToLua.CheckObject(L, 2, typeof(System.Action <UI.UIScrollWrap, int>)); } else { LuaFunction func = ToLua.ToLuaFunction(L, 2); arg0 = DelegateFactory.CreateDelegate(typeof(System.Action <UI.UIScrollWrap, int>), func) as System.Action <UI.UIScrollWrap, int>; } obj.OnCenterDataChanged = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index OnCenterDataChanged on a nil value" : e.Message)); } }
static int Test2(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UI.UIScrollWrap obj = (UI.UIScrollWrap)ToLua.CheckObject(L, 1, typeof(UI.UIScrollWrap)); obj.Test2(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int OnDrag(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UI.UIScrollWrap obj = (UI.UIScrollWrap)ToLua.CheckObject(L, 1, typeof(UI.UIScrollWrap)); UnityEngine.EventSystems.PointerEventData arg0 = (UnityEngine.EventSystems.PointerEventData)ToLua.CheckObject(L, 2, typeof(UnityEngine.EventSystems.PointerEventData)); obj.OnDrag(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int GetCenterDataIndex(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UI.UIScrollWrap obj = (UI.UIScrollWrap)ToLua.CheckObject(L, 1, typeof(UI.UIScrollWrap)); int o = obj.GetCenterDataIndex(); LuaDLL.lua_pushinteger(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int GetDataList(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UI.UIScrollWrap obj = (UI.UIScrollWrap)ToLua.CheckObject(L, 1, typeof(UI.UIScrollWrap)); System.Collections.Generic.List <object> o = obj.GetDataList(); ToLua.PushObject(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int SetData(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); UI.UIScrollWrap obj = (UI.UIScrollWrap)ToLua.CheckObject(L, 1, typeof(UI.UIScrollWrap)); int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); object arg1 = ToLua.ToVarObject(L, 3); obj.SetData(arg0, arg1); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int GetData(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UI.UIScrollWrap obj = (UI.UIScrollWrap)ToLua.CheckObject(L, 1, typeof(UI.UIScrollWrap)); int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); object o = obj.GetData(arg0); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int RefreshUIItems(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); UI.UIScrollWrap obj = (UI.UIScrollWrap)ToLua.CheckObject(L, 1, typeof(UI.UIScrollWrap)); bool arg0 = LuaDLL.luaL_checkboolean(L, 2); int arg1 = (int)LuaDLL.luaL_checknumber(L, 3); obj.RefreshUIItems(arg0, arg1); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int SetDataList(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); UI.UIScrollWrap obj = (UI.UIScrollWrap)ToLua.CheckObject(L, 1, typeof(UI.UIScrollWrap)); System.Collections.Generic.List <object> arg0 = (System.Collections.Generic.List <object>)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.List <object>)); bool arg1 = LuaDLL.luaL_checkboolean(L, 3); obj.SetDataList(arg0, arg1); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int set_m_testVal(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UI.UIScrollWrap obj = (UI.UIScrollWrap)o; int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); obj.m_testVal = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index m_testVal on a nil value" : e.Message)); } }
static int set_m_dockSide(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UI.UIScrollWrap obj = (UI.UIScrollWrap)o; bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.m_dockSide = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index m_dockSide on a nil value" : e.Message)); } }
static int get_m_rightOrBottomTip(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UI.UIScrollWrap obj = (UI.UIScrollWrap)o; UnityEngine.RectTransform ret = obj.m_rightOrBottomTip; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index m_rightOrBottomTip on a nil value" : e.Message)); } }
static int set_m_rightOrBottomTip(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UI.UIScrollWrap obj = (UI.UIScrollWrap)o; UnityEngine.RectTransform arg0 = (UnityEngine.RectTransform)ToLua.CheckUnityObject(L, 2, typeof(UnityEngine.RectTransform)); obj.m_rightOrBottomTip = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index m_rightOrBottomTip on a nil value" : e.Message)); } }
static int set_m_childAlign(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UI.UIScrollWrap obj = (UI.UIScrollWrap)o; UI.UIScrollWrap.enChildAlign arg0 = (UI.UIScrollWrap.enChildAlign)ToLua.CheckObject(L, 2, typeof(UI.UIScrollWrap.enChildAlign)); obj.m_childAlign = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index m_childAlign on a nil value" : e.Message)); } }
static int get_OnUIItemsReachEnd(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UI.UIScrollWrap obj = (UI.UIScrollWrap)o; System.Action <UI.UIScrollWrap> ret = obj.OnUIItemsReachEnd; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index OnUIItemsReachEnd on a nil value" : e.Message)); } }
static int get_m_testVal(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UI.UIScrollWrap obj = (UI.UIScrollWrap)o; int ret = obj.m_testVal; LuaDLL.lua_pushinteger(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index m_testVal on a nil value" : e.Message)); } }
static int get_m_fireEventOffset(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UI.UIScrollWrap obj = (UI.UIScrollWrap)o; float ret = obj.m_fireEventOffset; LuaDLL.lua_pushnumber(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index m_fireEventOffset on a nil value" : e.Message)); } }
static int get_m_childAlign(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UI.UIScrollWrap obj = (UI.UIScrollWrap)o; UI.UIScrollWrap.enChildAlign ret = obj.m_childAlign; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index m_childAlign on a nil value" : e.Message)); } }
static int get_m_dockSide(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UI.UIScrollWrap obj = (UI.UIScrollWrap)o; bool ret = obj.m_dockSide; LuaDLL.lua_pushboolean(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index m_dockSide on a nil value" : e.Message)); } }