예제 #1
0
 public bool ProcessFundBuyCmd(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.FundBuy(client, fundType);
         client.sendCmd <FundData>(1033, data, false);
         return(true);
     }
     catch (Exception ex)
     {
         DataHelper.WriteFormatExceptionLog(ex, Global.GetDebugHelperInfo(client.ClientSocket), false, false);
     }
     return(false);
 }