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