static int OnPointerDown(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); QFramework.UIEventListener obj = (QFramework.UIEventListener)ToLua.CheckObject <QFramework.UIEventListener>(L, 1); UnityEngine.EventSystems.PointerEventData arg0 = (UnityEngine.EventSystems.PointerEventData)ToLua.CheckObject <UnityEngine.EventSystems.PointerEventData>(L, 2); obj.OnPointerDown(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int Get(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckObject(L, 1, typeof(UnityEngine.GameObject)); QFramework.UIEventListener o = QFramework.UIEventListener.Get(arg0); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int set_onValueChanged(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); QFramework.UIEventListener obj = (QFramework.UIEventListener)o; System.Action <bool> arg0 = (System.Action <bool>)ToLua.CheckDelegate <System.Action <bool> >(L, 2); obj.onValueChanged = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index onValueChanged on a nil value")); } }
static int set_onDrag(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); QFramework.UIEventListener obj = (QFramework.UIEventListener)o; System.Action <UnityEngine.EventSystems.BaseEventData> arg0 = (System.Action <UnityEngine.EventSystems.BaseEventData>)ToLua.CheckDelegate <System.Action <UnityEngine.EventSystems.BaseEventData> >(L, 2); obj.onDrag = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index onDrag on a nil value")); } }
static int get_onValueChanged(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); QFramework.UIEventListener obj = (QFramework.UIEventListener)o; System.Action <bool> ret = obj.onValueChanged; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index onValueChanged on a nil value")); } }
static int get_onDrag(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); QFramework.UIEventListener obj = (QFramework.UIEventListener)o; System.Action <UnityEngine.EventSystems.BaseEventData> ret = obj.onDrag; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index onDrag on a nil value")); } }