Esempio n. 1
0
 static public int GetHtmlObject(IntPtr l)
 {
     try {
         FairyGUI.GRichTextField self = (FairyGUI.GRichTextField)checkSelf(l);
         System.String           a1;
         checkType(l, 2, out a1);
         var ret = self.GetHtmlObject(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Esempio n. 2
0
 static int GetHtmlObject(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         FairyGUI.GRichTextField obj = (FairyGUI.GRichTextField)ToLua.CheckObject(L, 1, typeof(FairyGUI.GRichTextField));
         string arg0 = ToLua.CheckString(L, 2);
         FairyGUI.Utils.IHtmlObject o = obj.GetHtmlObject(arg0);
         ToLua.PushObject(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }