Ejemplo n.º 1
0
 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;
     }
     if (this.stAkaliShopInfo != null)
     {
         this.stAkaliShopInfo.Release();
         this.stAkaliShopInfo = null;
     }
 }
Ejemplo n.º 2
0
 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);
 }
Ejemplo n.º 3
0
 public override void OnRelease()
 {
     if (this.stAkaliShopBuy != null)
     {
         this.stAkaliShopBuy.Release();
         this.stAkaliShopBuy = null;
     }
     if (this.stAkaliShopData != null)
     {
         this.stAkaliShopData.Release();
         this.stAkaliShopData = null;
     }
 }
Ejemplo n.º 4
0
 public SCPKG_AKALISHOP_INFO()
 {
     this.stAkaliShopBuy  = (COMDT_ACNT_AKALISHOP_INFO)ProtocolObjectPool.Get(COMDT_ACNT_AKALISHOP_INFO.CLASS_ID);
     this.stAkaliShopData = (COMDT_AKALISHOP_DETAIL)ProtocolObjectPool.Get(COMDT_AKALISHOP_DETAIL.CLASS_ID);
 }
Ejemplo n.º 5
0
 public override void OnUse()
 {
     this.stAkaliShopBuy  = (COMDT_ACNT_AKALISHOP_INFO)ProtocolObjectPool.Get(COMDT_ACNT_AKALISHOP_INFO.CLASS_ID);
     this.stAkaliShopData = (COMDT_AKALISHOP_DETAIL)ProtocolObjectPool.Get(COMDT_AKALISHOP_DETAIL.CLASS_ID);
 }