Esempio n. 1
0
 static int AddDetachFormulaItem(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         AbilityBase  obj  = (AbilityBase)ToLua.CheckObject(L, 1, typeof(AbilityBase));
         IFormulaItem arg0 = (IFormulaItem)ToLua.CheckObject(L, 2, typeof(IFormulaItem));
         obj.AddDetachFormulaItem(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }