private bool ProcessCmdPetSkillInherit(GameClient client, int nID, byte[] bytes, string[] cmdParams) { try { if (!CheckHelper.CheckCmdLength(client, nID, cmdParams, 3)) { return(false); } int srcPetID = Convert.ToInt32(cmdParams[0]); int tarPetID = Convert.ToInt32(cmdParams[1]); int userMoney = Convert.ToInt32(cmdParams[2]); string outProps = ""; int result = (int)PetSkillManager.PetSkillInherit(client, srcPetID, tarPetID, userMoney, out outProps); client.sendCmd(1065, string.Format("{0}:{1}", result, outProps), false); return(true); } catch (Exception ex) { DataHelper.WriteFormatExceptionLog(ex, Global.GetDebugHelperInfo(client.ClientSocket), false, false); } return(false); }