public bool ProcessFundAwardCmd(GameClient client, int nID, byte[] bytes, string[] cmdParams) { try { if (!CheckHelper.CheckCmdLength(client, nID, cmdParams, 1)) { return(false); } int fundType = int.Parse(cmdParams[0]); FundData data = FundManager.FundAward(client, fundType); client.sendCmd <FundData>(1034, data, false); return(true); } catch (Exception ex) { DataHelper.WriteFormatExceptionLog(ex, Global.GetDebugHelperInfo(client.ClientSocket), false, false); } return(false); }