| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518 |
- //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), "ReorderableList");
- 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<RO.ReorderableList>(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<RO.ReorderableList>(L, 1);
- RO.ReorderableList.ReorderableListEventStruct arg0 = StackTraits<RO.ReorderableList.ReorderableListEventStruct>.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<UnityEngine.UI.LayoutGroup>(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<RO.ReorderableList.ReorderableListHandler>(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<RO.ReorderableList.ReorderableListHandler>(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<RO.ReorderableList.ReorderableListHandler>(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<RO.ReorderableList.ReorderableListHandler>(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<UnityEngine.Events.UnityEvent>(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");
- }
- }
- }
|