public override void OnRelease()
 {
     if (this.stItemInfo != null)
     {
         this.stItemInfo.Release();
         this.stItemInfo = null;
     }
     if (this.stShopInfo != null)
     {
         this.stShopInfo.Release();
         this.stShopInfo = null;
     }
     if (this.stSymbolInfo != null)
     {
         this.stSymbolInfo.Release();
         this.stSymbolInfo = null;
     }
     if (this.stSpecialSaleInfo != null)
     {
         this.stSpecialSaleInfo.Release();
         this.stSpecialSaleInfo = null;
     }
     if (this.stScretSaleInfo != null)
     {
         this.stScretSaleInfo.Release();
         this.stScretSaleInfo = null;
     }
 }
 public override void OnUse()
 {
     this.stItemInfo        = (COMDT_ACNT_ITEMINFO)ProtocolObjectPool.Get(COMDT_ACNT_ITEMINFO.CLASS_ID);
     this.stShopInfo        = (COMDT_ACNT_SHOPINFO)ProtocolObjectPool.Get(COMDT_ACNT_SHOPINFO.CLASS_ID);
     this.stSymbolInfo      = (COMDT_ACNT_SYMBOLINFO)ProtocolObjectPool.Get(COMDT_ACNT_SYMBOLINFO.CLASS_ID);
     this.stSpecialSaleInfo = (COMDT_ACNT_SPECIAL_SAILINFO)ProtocolObjectPool.Get(COMDT_ACNT_SPECIAL_SAILINFO.CLASS_ID);
     this.stScretSaleInfo   = (COMDT_ACNT_SCRET_SAILINFO)ProtocolObjectPool.Get(COMDT_ACNT_SCRET_SAILINFO.CLASS_ID);
 }
 public override void OnRelease()
 {
     this.bIsPkgPrepare = 0;
     if (this.stPkgInfo != null)
     {
         this.stPkgInfo.Release();
         this.stPkgInfo = null;
     }
 }
 public COMDT_ITEM_PKGINFO()
 {
     this.stItemInfo        = (COMDT_ACNT_ITEMINFO)ProtocolObjectPool.Get(COMDT_ACNT_ITEMINFO.CLASS_ID);
     this.stShopInfo        = (COMDT_ACNT_SHOPINFO)ProtocolObjectPool.Get(COMDT_ACNT_SHOPINFO.CLASS_ID);
     this.stSymbolInfo      = (COMDT_ACNT_SYMBOLINFO)ProtocolObjectPool.Get(COMDT_ACNT_SYMBOLINFO.CLASS_ID);
     this.stSpecialSaleInfo = (COMDT_ACNT_SPECIAL_SAILINFO)ProtocolObjectPool.Get(COMDT_ACNT_SPECIAL_SAILINFO.CLASS_ID);
     this.stScretSaleInfo   = (COMDT_ACNT_SCRET_SAILINFO)ProtocolObjectPool.Get(COMDT_ACNT_SCRET_SAILINFO.CLASS_ID);
     this.stAkaliShopInfo   = (COMDT_ACNT_AKALISHOP_INFO)ProtocolObjectPool.Get(COMDT_ACNT_AKALISHOP_INFO.CLASS_ID);
 }
 public SCPKG_CMD_PKGDETAIL()
 {
     this.stPkgInfo = (COMDT_ACNT_ITEMINFO)ProtocolObjectPool.Get(COMDT_ACNT_ITEMINFO.CLASS_ID);
 }
 public override void OnUse()
 {
     this.stPkgInfo = (COMDT_ACNT_ITEMINFO)ProtocolObjectPool.Get(COMDT_ACNT_ITEMINFO.CLASS_ID);
 }