Example #1
0
 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));
     }
 }