示例#1
0
 static int AddSubFormulaItem(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         SkillInfo    obj  = (SkillInfo)ToLua.CheckObject(L, 1, typeof(SkillInfo));
         IFormulaItem arg0 = (IFormulaItem)ToLua.CheckObject(L, 2, typeof(IFormulaItem));
         obj.AddSubFormulaItem(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }