static int _m_Parse(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.Utils.HtmlParser gen_to_be_invoked = (FairyGUI.Utils.HtmlParser)translator.FastGetCSObj(L, 1); { string _aSource = LuaAPI.lua_tostring(L, 2); FairyGUI.TextFormat _defaultFormat = (FairyGUI.TextFormat)translator.GetObject(L, 3, typeof(FairyGUI.TextFormat)); System.Collections.Generic.List <FairyGUI.Utils.HtmlElement> _elements = (System.Collections.Generic.List <FairyGUI.Utils.HtmlElement>)translator.GetObject(L, 4, typeof(System.Collections.Generic.List <FairyGUI.Utils.HtmlElement>)); FairyGUI.Utils.HtmlParseOptions _parseOptions = (FairyGUI.Utils.HtmlParseOptions)translator.GetObject(L, 5, typeof(FairyGUI.Utils.HtmlParseOptions)); gen_to_be_invoked.Parse(_aSource, _defaultFormat, _elements, _parseOptions); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _s_set_ignoreWhiteSpace(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.Utils.HtmlParseOptions gen_to_be_invoked = (FairyGUI.Utils.HtmlParseOptions)translator.FastGetCSObj(L, 1); gen_to_be_invoked.ignoreWhiteSpace = LuaAPI.lua_toboolean(L, 2); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int _g_get_linkHoverBgColor(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.Utils.HtmlParseOptions gen_to_be_invoked = (FairyGUI.Utils.HtmlParseOptions)translator.FastGetCSObj(L, 1); translator.PushUnityEngineColor(L, gen_to_be_invoked.linkHoverBgColor); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(1); }
static int _s_set_linkHoverBgColor(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.Utils.HtmlParseOptions gen_to_be_invoked = (FairyGUI.Utils.HtmlParseOptions)translator.FastGetCSObj(L, 1); UnityEngine.Color gen_value; translator.Get(L, 2, out gen_value); gen_to_be_invoked.linkHoverBgColor = gen_value; } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { FairyGUI.Utils.HtmlParseOptions gen_ret = new FairyGUI.Utils.HtmlParseOptions(); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to FairyGUI.Utils.HtmlParseOptions constructor!")); }