private bool ProcessCmdPetSkillUp(GameClient client, int nID, byte[] bytes, string[] cmdParams) { try { if (!CheckHelper.CheckCmdLength(client, nID, cmdParams, 2)) { return(false); } int petID = Convert.ToInt32(cmdParams[0]); int pit = Convert.ToInt32(cmdParams[1]); int resultType = (int)PetSkillManager.PetSkillUp(client, petID, pit); client.sendCmd <int>(1037, resultType, false); return(true); } catch (Exception ex) { DataHelper.WriteFormatExceptionLog(ex, Global.GetDebugHelperInfo(client.ClientSocket), false, false); } return(false); }