public override void OnRelease()
 {
     this.dwPayFlag    = 0;
     this.dwDiamondCnt = 0;
     this.dwCouponsCnt = 0;
     if (this.stEventInfo != null)
     {
         this.stEventInfo.Release();
         this.stEventInfo = null;
     }
     this.bRetryCnt = 0;
     this.wPayType  = 0;
     if (this.stPayInfo != null)
     {
         this.stPayInfo.Release();
         this.stPayInfo = null;
     }
 }
 public override void OnUse()
 {
     this.stEventInfo = (COMDT_GAME_EVENTINFO)ProtocolObjectPool.Get(COMDT_GAME_EVENTINFO.CLASS_ID);
     this.stPayInfo   = (COMDT_APOLLO_PAYINFO)ProtocolObjectPool.Get(COMDT_APOLLO_PAYINFO.CLASS_ID);
 }
 public COMDT_APOLLO_OPT_PAY()
 {
     this.stEventInfo = (COMDT_GAME_EVENTINFO)ProtocolObjectPool.Get(COMDT_GAME_EVENTINFO.CLASS_ID);
     this.szBillno    = new byte[64];
     this.stPayInfo   = (COMDT_APOLLO_PAYINFO)ProtocolObjectPool.Get(COMDT_APOLLO_PAYINFO.CLASS_ID);
 }