static int RemoveEventHandler(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UGUIMsgHandler obj = (UGUIMsgHandler)ToLua.CheckObject <UGUIMsgHandler>(L, 1); UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckObject(L, 2, typeof(UnityEngine.GameObject)); obj.RemoveEventHandler(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int set_onExit(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UGUIMsgHandler obj = (UGUIMsgHandler)o; UIEventHandler arg0 = (UIEventHandler)ToLua.CheckDelegate <UIEventHandler>(L, 2); obj.onExit = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index onExit on a nil value")); } }
static int get_onEvent(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UGUIMsgHandler obj = (UGUIMsgHandler)o; System.Action <string> ret = obj.onEvent; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index onEvent on a nil value")); } }
static int get_onDownDetail(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UGUIMsgHandler obj = (UGUIMsgHandler)o; UIDragEventHandlerDetail ret = obj.onDownDetail; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index onDownDetail on a nil value")); } }
static int get_onTableviewPress(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UGUIMsgHandler obj = (UGUIMsgHandler)o; UnityEngine.UI.Extensions.UITableView.OnProcessPress ret = obj.onTableviewPress; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index onTableviewPress on a nil value")); } }
static int get_onInitializePotentialDrag(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UGUIMsgHandler obj = (UGUIMsgHandler)o; UIEventHandler ret = obj.onInitializePotentialDrag; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index onInitializePotentialDrag on a nil value")); } }
static int get_onEditEnd(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UGUIMsgHandler obj = (UGUIMsgHandler)o; StrValueChangeAction ret = obj.onEditEnd; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index onEditEnd on a nil value")); } }
static int set_onEvent(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UGUIMsgHandler obj = (UGUIMsgHandler)o; System.Action <string> arg0 = (System.Action <string>)ToLua.CheckDelegate <System.Action <string> >(L, 2); obj.onEvent = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index onEvent on a nil value")); } }
static int set_onTableviewPress(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UGUIMsgHandler obj = (UGUIMsgHandler)o; UnityEngine.UI.Extensions.UITableView.OnProcessPress arg0 = (UnityEngine.UI.Extensions.UITableView.OnProcessPress)ToLua.CheckDelegate <UnityEngine.UI.Extensions.UITableView.OnProcessPress>(L, 2); obj.onTableviewPress = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index onTableviewPress on a nil value")); } }
static int set_onEditEnd(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UGUIMsgHandler obj = (UGUIMsgHandler)o; StrValueChangeAction arg0 = (StrValueChangeAction)ToLua.CheckDelegate <StrValueChangeAction>(L, 2); obj.onEditEnd = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index onEditEnd on a nil value")); } }