Ejemplo n.º 1
0
 public override void OnRelease()
 {
     this.iBuyType    = 0;
     this.iBuySubType = 0;
     if (this.stExtraInfo != null)
     {
         this.stExtraInfo.Release();
         this.stExtraInfo = null;
     }
     if (this.stBuyResult != null)
     {
         this.stBuyResult.Release();
         this.stBuyResult = null;
     }
     this.iChgValue = 0;
 }
Ejemplo n.º 2
0
 public override void OnUse()
 {
     this.stExtraInfo = (COMDT_SHOPBUY_EXTRA)ProtocolObjectPool.Get(COMDT_SHOPBUY_EXTRA.CLASS_ID);
     this.stBuyResult = (CSDT_SHOPBUY_REWARDLIST)ProtocolObjectPool.Get(CSDT_SHOPBUY_REWARDLIST.CLASS_ID);
 }
Ejemplo n.º 3
0
 public SCPKG_CMD_SHOPBUY()
 {
     this.stExtraInfo = (COMDT_SHOPBUY_EXTRA)ProtocolObjectPool.Get(COMDT_SHOPBUY_EXTRA.CLASS_ID);
     this.stBuyResult = (CSDT_SHOPBUY_REWARDLIST)ProtocolObjectPool.Get(CSDT_SHOPBUY_REWARDLIST.CLASS_ID);
 }