Exemple #1
0
 static int CopySkillInfo(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));
         SkillInfo    o    = obj.CopySkillInfo(arg0);
         ToLua.PushObject(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }