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 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);
 }