static public int Dispose(IntPtr l) { try { FairyGUI.GComboBox self = (FairyGUI.GComboBox)checkSelf(l); self.Dispose(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int get_visibleItemCount(IntPtr l) { try { FairyGUI.GComboBox self = (FairyGUI.GComboBox)checkSelf(l); pushValue(l, true); pushValue(l, self.visibleItemCount); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int get_dropdown(IntPtr l) { try { FairyGUI.GComboBox self = (FairyGUI.GComboBox)checkSelf(l); pushValue(l, true); pushValue(l, self.dropdown); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int UpdateDropdownList(IntPtr l) { try { FairyGUI.GComboBox self = (FairyGUI.GComboBox)checkSelf(l); self.UpdateDropdownList(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int constructor(IntPtr l) { try { FairyGUI.GComboBox o; o = new FairyGUI.GComboBox(); pushValue(l, true); pushValue(l, o); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int set_visibleItemCount(IntPtr l) { try { FairyGUI.GComboBox self = (FairyGUI.GComboBox)checkSelf(l); System.Int32 v; checkType(l, 2, out v); self.visibleItemCount = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int Setup_AfterAdd(IntPtr l) { try { FairyGUI.GComboBox self = (FairyGUI.GComboBox)checkSelf(l); FairyGUI.Utils.XML a1; checkType(l, 2, out a1); self.Setup_AfterAdd(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int set_popupDirection(IntPtr l) { try { FairyGUI.GComboBox self = (FairyGUI.GComboBox)checkSelf(l); string v; checkType(l, 2, out v); self.popupDirection = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int set_selectedIndex(IntPtr l) { try { FairyGUI.GComboBox self = (FairyGUI.GComboBox)checkSelf(l); int v; checkType(l, 2, out v); self.selectedIndex = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int set_values(IntPtr l) { try { FairyGUI.GComboBox self = (FairyGUI.GComboBox)checkSelf(l); System.String[] v; checkArray(l, 2, out v); self.values = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int set_titleColor(IntPtr l) { try { FairyGUI.GComboBox self = (FairyGUI.GComboBox)checkSelf(l); UnityEngine.Color v; checkType(l, 2, out v); self.titleColor = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static int UpdateDropdownList(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); FairyGUI.GComboBox obj = (FairyGUI.GComboBox)ToLua.CheckObject <FairyGUI.GComboBox>(L, 1); obj.UpdateDropdownList(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int Dispose(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); FairyGUI.GComboBox obj = (FairyGUI.GComboBox)ToLua.CheckObject(L, 1, typeof(FairyGUI.GComboBox)); obj.Dispose(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static public int set_dropdown(IntPtr l) { try { FairyGUI.GComboBox self = (FairyGUI.GComboBox)checkSelf(l); FairyGUI.GComponent v; checkType(l, 2, out v); self.dropdown = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static int ApplyListChange(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); FairyGUI.GComboBox obj = (FairyGUI.GComboBox)ToLua.CheckObject <FairyGUI.GComboBox>(L, 1); obj.ApplyListChange(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int ConstructFromXML(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); FairyGUI.GComboBox obj = (FairyGUI.GComboBox)ToLua.CheckObject <FairyGUI.GComboBox>(L, 1); FairyGUI.Utils.XML arg0 = (FairyGUI.Utils.XML)ToLua.CheckObject <FairyGUI.Utils.XML>(L, 2); obj.ConstructFromXML(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int HandleControllerChanged(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); FairyGUI.GComboBox obj = (FairyGUI.GComboBox)ToLua.CheckObject <FairyGUI.GComboBox>(L, 1); FairyGUI.Controller arg0 = (FairyGUI.Controller)ToLua.CheckObject <FairyGUI.Controller>(L, 2); obj.HandleControllerChanged(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int GetTextField(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); FairyGUI.GComboBox obj = (FairyGUI.GComboBox)ToLua.CheckObject <FairyGUI.GComboBox>(L, 1); FairyGUI.GTextField o = obj.GetTextField(); ToLua.PushObject(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int Setup_AfterAdd(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); FairyGUI.GComboBox obj = (FairyGUI.GComboBox)ToLua.CheckObject(L, 1, typeof(FairyGUI.GComboBox)); FairyGUI.Utils.XML arg0 = (FairyGUI.Utils.XML)ToLua.CheckObject(L, 2, typeof(FairyGUI.Utils.XML)); obj.Setup_AfterAdd(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int Setup_AfterAdd(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); FairyGUI.GComboBox obj = (FairyGUI.GComboBox)ToLua.CheckObject <FairyGUI.GComboBox>(L, 1); FairyGUI.Utils.ByteBuffer arg0 = (FairyGUI.Utils.ByteBuffer)ToLua.CheckObject <FairyGUI.Utils.ByteBuffer>(L, 2); int arg1 = (int)LuaDLL.luaL_checknumber(L, 3); obj.Setup_AfterAdd(arg0, arg1); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int get_values(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); FairyGUI.GComboBox obj = (FairyGUI.GComboBox)o; string[] ret = obj.values; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index values on a nil value" : e.Message)); } }
static int set_popupDirection(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); FairyGUI.GComboBox obj = (FairyGUI.GComboBox)o; string arg0 = ToLua.CheckString(L, 2); obj.popupDirection = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index popupDirection on a nil value" : e.Message)); } }
static int set_value(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); FairyGUI.GComboBox obj = (FairyGUI.GComboBox)o; string arg0 = ToLua.CheckString(L, 2); obj.value = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index value on a nil value")); } }
static int set_titleColor(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); FairyGUI.GComboBox obj = (FairyGUI.GComboBox)o; UnityEngine.Color arg0 = ToLua.ToColor(L, 2); obj.titleColor = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index titleColor on a nil value" : e.Message)); } }
static int set_selectedIndex(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); FairyGUI.GComboBox obj = (FairyGUI.GComboBox)o; int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); obj.selectedIndex = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index selectedIndex on a nil value" : e.Message)); } }
static int set_dropdown(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); FairyGUI.GComboBox obj = (FairyGUI.GComboBox)o; FairyGUI.GComponent arg0 = (FairyGUI.GComponent)ToLua.CheckObject(L, 2, typeof(FairyGUI.GComponent)); obj.dropdown = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index dropdown on a nil value" : e.Message)); } }
static int get_popupDirection(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); FairyGUI.GComboBox obj = (FairyGUI.GComboBox)o; string ret = obj.popupDirection; LuaDLL.lua_pushstring(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index popupDirection on a nil value" : e.Message)); } }
static int get_selectedIndex(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); FairyGUI.GComboBox obj = (FairyGUI.GComboBox)o; int ret = obj.selectedIndex; LuaDLL.lua_pushinteger(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index selectedIndex on a nil value" : e.Message)); } }
static int get_dropdown(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); FairyGUI.GComboBox obj = (FairyGUI.GComboBox)o; FairyGUI.GComponent ret = obj.dropdown; ToLua.PushObject(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index dropdown on a nil value" : e.Message)); } }
static int get_onChanged(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); FairyGUI.GComboBox obj = (FairyGUI.GComboBox)o; FairyGUI.EventListener ret = obj.onChanged; ToLua.PushObject(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index onChanged on a nil value" : e.Message)); } }