public GButton() { pageOption = new PageOption(); sound = UIConfig.buttonSound; soundVolumeScale = UIConfig.buttonSoundVolumeScale; changeStateOnClick = true; _downEffectValue = 0.8f; _title = string.Empty; }
public GButton() { pageOption = new PageOption(); sound = UIConfig.buttonSound; soundVolumeScale = UIConfig.buttonSoundVolumeScale; changeStateOnClick = true; onChanged = new EventListener(this, "onChanged"); }
public GButton() { pageOption = new PageOption(); sound = UIConfig.buttonSound; soundVolumeScale = UIConfig.buttonSoundVolumeScale; changeStateOnClick = true; _downEffectValue = 0.8f; _title = string.Empty; onChanged = new EventListener(this, "onChanged"); }
static public int Clear(IntPtr l) { try { FairyGUI.PageOption self = (FairyGUI.PageOption)checkSelf(l); self.Clear(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int get_name(IntPtr l) { try { FairyGUI.PageOption self = (FairyGUI.PageOption)checkSelf(l); pushValue(l, true); pushValue(l, self.name); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int constructor(IntPtr l) { try { FairyGUI.PageOption o; o = new FairyGUI.PageOption(); pushValue(l, true); pushValue(l, o); return(2); } catch (Exception e) { return(error(l, e)); } }
static int Clear(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); FairyGUI.PageOption obj = (FairyGUI.PageOption)ToLua.CheckObject(L, 1, typeof(FairyGUI.PageOption)); obj.Clear(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static public int set_name(IntPtr l) { try { FairyGUI.PageOption self = (FairyGUI.PageOption)checkSelf(l); string v; checkType(l, 2, out v); self.name = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int set_controller(IntPtr l) { try { FairyGUI.PageOption self = (FairyGUI.PageOption)checkSelf(l); FairyGUI.Controller v; checkType(l, 2, out v); self.controller = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static int get_id(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); FairyGUI.PageOption obj = (FairyGUI.PageOption)o; string ret = obj.id; LuaDLL.lua_pushstring(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index id on a nil value" : e.Message)); } }
static int set_id(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); FairyGUI.PageOption obj = (FairyGUI.PageOption)o; string arg0 = ToLua.CheckString(L, 2); obj.id = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index id on a nil value" : e.Message)); } }
static int set_index(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); FairyGUI.PageOption obj = (FairyGUI.PageOption)o; int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); obj.index = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index index on a nil value" : e.Message)); } }
static int set_controller(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); FairyGUI.PageOption obj = (FairyGUI.PageOption)o; FairyGUI.Controller arg0 = (FairyGUI.Controller)ToLua.CheckObject(L, 2, typeof(FairyGUI.Controller)); obj.controller = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index controller on a nil value" : e.Message)); } }
static int get_pageOption(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); FairyGUI.GButton obj = (FairyGUI.GButton)o; FairyGUI.PageOption ret = obj.pageOption; ToLua.PushObject(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index pageOption on a nil value" : e.Message)); } }
static int _CreateFairyGUI_PageOption(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 0) { FairyGUI.PageOption obj = new FairyGUI.PageOption(); ToLua.PushObject(L, obj); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to ctor method: FairyGUI.PageOption.New")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }