コード例 #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;
     }
 }
コード例 #2
0
 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);
 }
コード例 #3
0
 public override void OnRelease()
 {
     this.bIsPkgPrepare = 0;
     if (this.stPkgInfo != null)
     {
         this.stPkgInfo.Release();
         this.stPkgInfo = null;
     }
 }
コード例 #4
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);
 }
コード例 #5
0
 public SCPKG_CMD_PKGDETAIL()
 {
     this.stPkgInfo = (COMDT_ACNT_ITEMINFO)ProtocolObjectPool.Get(COMDT_ACNT_ITEMINFO.CLASS_ID);
 }
コード例 #6
0
 public override void OnUse()
 {
     this.stPkgInfo = (COMDT_ACNT_ITEMINFO)ProtocolObjectPool.Get(COMDT_ACNT_ITEMINFO.CLASS_ID);
 }