Exemple #1
0
 static int AttachSkillAttribute(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         SkillManager obj  = (SkillManager)ToLua.CheckObject(L, 1, typeof(SkillManager));
         SkillInfo    arg0 = (SkillInfo)ToLua.CheckObject(L, 2, typeof(SkillInfo));
         VOBase       arg1 = (VOBase)ToLua.CheckObject(L, 3, typeof(VOBase));
         obj.AttachSkillAttribute(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }