static public int get_htmlObjectCount(IntPtr l) { try { FairyGUI.GRichTextField self = (FairyGUI.GRichTextField)checkSelf(l); pushValue(l, true); pushValue(l, self.htmlObjectCount); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int constructor(IntPtr l) { try { FairyGUI.GRichTextField o; o = new FairyGUI.GRichTextField(); pushValue(l, true); pushValue(l, o); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int GetHtmlObjectAt(IntPtr l) { try { FairyGUI.GRichTextField self = (FairyGUI.GRichTextField)checkSelf(l); System.Int32 a1; checkType(l, 2, out a1); var ret = self.GetHtmlObjectAt(a1); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }
static int GetHtmlObjectAt(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); FairyGUI.GRichTextField obj = (FairyGUI.GRichTextField)ToLua.CheckObject(L, 1, typeof(FairyGUI.GRichTextField)); int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); FairyGUI.Utils.IHtmlObject o = obj.GetHtmlObjectAt(arg0); ToLua.PushObject(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int get_htmlObjectCount(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); FairyGUI.GRichTextField obj = (FairyGUI.GRichTextField)o; int ret = obj.htmlObjectCount; LuaDLL.lua_pushinteger(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index htmlObjectCount on a nil value" : e.Message)); } }
static int set_emojies(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); FairyGUI.GRichTextField obj = (FairyGUI.GRichTextField)o; System.Collections.Generic.Dictionary <uint, FairyGUI.Emoji> arg0 = (System.Collections.Generic.Dictionary <uint, FairyGUI.Emoji>)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.Dictionary <uint, FairyGUI.Emoji>)); obj.emojies = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index emojies on a nil value" : e.Message)); } }
static int get_emojies(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); FairyGUI.GRichTextField obj = (FairyGUI.GRichTextField)o; System.Collections.Generic.Dictionary <uint, FairyGUI.Emoji> ret = obj.emojies; ToLua.PushObject(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index emojies on a nil value" : e.Message)); } }
static int get_richTextField(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); FairyGUI.GRichTextField obj = (FairyGUI.GRichTextField)o; FairyGUI.RichTextField ret = obj.richTextField; ToLua.PushObject(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index richTextField on a nil value" : e.Message)); } }
static int _CreateFairyGUI_GRichTextField(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 0) { FairyGUI.GRichTextField obj = new FairyGUI.GRichTextField(); ToLua.PushObject(L, obj); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to ctor method: FairyGUI.GRichTextField.New")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }