static public int Parse(IntPtr l)
 {
     try {
         FairyGUI.Utils.UBBParser self = (FairyGUI.Utils.UBBParser)checkSelf(l);
         System.String            a1;
         checkType(l, 2, out a1);
         var ret = self.Parse(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #2
0
 static int Parse(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         FairyGUI.Utils.UBBParser obj = (FairyGUI.Utils.UBBParser)ToLua.CheckObject(L, 1, typeof(FairyGUI.Utils.UBBParser));
         string arg0 = ToLua.CheckString(L, 2);
         string o    = obj.Parse(arg0);
         LuaDLL.lua_pushstring(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }