//this source code was auto-generated by tolua#, do not modify it using System; using LuaInterface; public class RO_ReorderableListWrap { public static void Register(LuaState L) { L.BeginClass(typeof(RO.ReorderableList), typeof(UnityEngine.MonoBehaviour)); L.RegFunction("GetCanvas", GetCanvas); L.RegFunction("TestReOrderableListTarget", TestReOrderableListTarget); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("ContentLayout", get_ContentLayout, set_ContentLayout); L.RegVar("DraggableArea", get_DraggableArea, set_DraggableArea); L.RegVar("IsDraggable", get_IsDraggable, set_IsDraggable); L.RegVar("CloneDraggedObject", get_CloneDraggedObject, set_CloneDraggedObject); L.RegVar("IsDropable", get_IsDropable, set_IsDropable); L.RegVar("OnElementDropped", get_OnElementDropped, set_OnElementDropped); L.RegVar("OnElementGrabbed", get_OnElementGrabbed, set_OnElementGrabbed); L.RegVar("OnElementRemoved", get_OnElementRemoved, set_OnElementRemoved); L.RegVar("OnElementSiblingChanged", get_OnElementSiblingChanged, set_OnElementSiblingChanged); L.RegVar("OnElementEndDrag", get_OnElementEndDrag, set_OnElementEndDrag); L.RegVar("Content", get_Content, null); L.RegVar("isDragging", get_isDragging, set_isDragging); L.EndClass(); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int GetCanvas(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); RO.ReorderableList obj = (RO.ReorderableList)ToLua.CheckObject(L, 1); UnityEngine.Canvas o = obj.GetCanvas(); ToLua.PushSealed(L, o); return 1; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int TestReOrderableListTarget(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); RO.ReorderableList obj = (RO.ReorderableList)ToLua.CheckObject(L, 1); RO.ReorderableList.ReorderableListEventStruct arg0 = StackTraits.Check(L, 2); obj.TestReOrderableListTarget(arg0); return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int op_Equality(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UnityEngine.Object arg0 = (UnityEngine.Object)ToLua.ToObject(L, 1); UnityEngine.Object arg1 = (UnityEngine.Object)ToLua.ToObject(L, 2); bool o = arg0 == arg1; LuaDLL.lua_pushboolean(L, o); return 1; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_ContentLayout(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); RO.ReorderableList obj = (RO.ReorderableList)o; UnityEngine.UI.LayoutGroup ret = obj.ContentLayout; ToLua.Push(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index ContentLayout on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_DraggableArea(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); RO.ReorderableList obj = (RO.ReorderableList)o; UnityEngine.RectTransform ret = obj.DraggableArea; ToLua.PushSealed(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index DraggableArea on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_IsDraggable(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); RO.ReorderableList obj = (RO.ReorderableList)o; bool ret = obj.IsDraggable; LuaDLL.lua_pushboolean(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index IsDraggable on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_CloneDraggedObject(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); RO.ReorderableList obj = (RO.ReorderableList)o; bool ret = obj.CloneDraggedObject; LuaDLL.lua_pushboolean(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index CloneDraggedObject on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_IsDropable(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); RO.ReorderableList obj = (RO.ReorderableList)o; bool ret = obj.IsDropable; LuaDLL.lua_pushboolean(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index IsDropable on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_OnElementDropped(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); RO.ReorderableList obj = (RO.ReorderableList)o; RO.ReorderableList.ReorderableListHandler ret = obj.OnElementDropped; ToLua.PushObject(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index OnElementDropped on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_OnElementGrabbed(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); RO.ReorderableList obj = (RO.ReorderableList)o; RO.ReorderableList.ReorderableListHandler ret = obj.OnElementGrabbed; ToLua.PushObject(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index OnElementGrabbed on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_OnElementRemoved(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); RO.ReorderableList obj = (RO.ReorderableList)o; RO.ReorderableList.ReorderableListHandler ret = obj.OnElementRemoved; ToLua.PushObject(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index OnElementRemoved on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_OnElementSiblingChanged(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); RO.ReorderableList obj = (RO.ReorderableList)o; RO.ReorderableList.ReorderableListHandler ret = obj.OnElementSiblingChanged; ToLua.PushObject(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index OnElementSiblingChanged on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_OnElementEndDrag(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); RO.ReorderableList obj = (RO.ReorderableList)o; UnityEngine.Events.UnityEvent ret = obj.OnElementEndDrag; ToLua.PushObject(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index OnElementEndDrag on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_Content(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); RO.ReorderableList obj = (RO.ReorderableList)o; UnityEngine.RectTransform ret = obj.Content; ToLua.PushSealed(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index Content on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_isDragging(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); RO.ReorderableList obj = (RO.ReorderableList)o; bool ret = obj.isDragging; LuaDLL.lua_pushboolean(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index isDragging on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_ContentLayout(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); RO.ReorderableList obj = (RO.ReorderableList)o; UnityEngine.UI.LayoutGroup arg0 = (UnityEngine.UI.LayoutGroup)ToLua.CheckObject(L, 2); obj.ContentLayout = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index ContentLayout on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_DraggableArea(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); RO.ReorderableList obj = (RO.ReorderableList)o; UnityEngine.RectTransform arg0 = (UnityEngine.RectTransform)ToLua.CheckObject(L, 2, typeof(UnityEngine.RectTransform)); obj.DraggableArea = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index DraggableArea on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_IsDraggable(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); RO.ReorderableList obj = (RO.ReorderableList)o; bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.IsDraggable = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index IsDraggable on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_CloneDraggedObject(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); RO.ReorderableList obj = (RO.ReorderableList)o; bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.CloneDraggedObject = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index CloneDraggedObject on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_IsDropable(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); RO.ReorderableList obj = (RO.ReorderableList)o; bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.IsDropable = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index IsDropable on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_OnElementDropped(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); RO.ReorderableList obj = (RO.ReorderableList)o; RO.ReorderableList.ReorderableListHandler arg0 = (RO.ReorderableList.ReorderableListHandler)ToLua.CheckObject(L, 2); obj.OnElementDropped = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index OnElementDropped on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_OnElementGrabbed(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); RO.ReorderableList obj = (RO.ReorderableList)o; RO.ReorderableList.ReorderableListHandler arg0 = (RO.ReorderableList.ReorderableListHandler)ToLua.CheckObject(L, 2); obj.OnElementGrabbed = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index OnElementGrabbed on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_OnElementRemoved(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); RO.ReorderableList obj = (RO.ReorderableList)o; RO.ReorderableList.ReorderableListHandler arg0 = (RO.ReorderableList.ReorderableListHandler)ToLua.CheckObject(L, 2); obj.OnElementRemoved = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index OnElementRemoved on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_OnElementSiblingChanged(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); RO.ReorderableList obj = (RO.ReorderableList)o; RO.ReorderableList.ReorderableListHandler arg0 = (RO.ReorderableList.ReorderableListHandler)ToLua.CheckObject(L, 2); obj.OnElementSiblingChanged = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index OnElementSiblingChanged on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_OnElementEndDrag(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); RO.ReorderableList obj = (RO.ReorderableList)o; UnityEngine.Events.UnityEvent arg0 = (UnityEngine.Events.UnityEvent)ToLua.CheckObject(L, 2); obj.OnElementEndDrag = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index OnElementEndDrag on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_isDragging(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); RO.ReorderableList obj = (RO.ReorderableList)o; bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.isDragging = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index isDragging on a nil value"); } } }