コード例 #1
0
 public override void OnRelease()
 {
     if (this.stDiamond != null)
     {
         this.stDiamond.Release();
         this.stDiamond = null;
     }
     if (this.stCoupons != null)
     {
         this.stCoupons.Release();
         this.stCoupons = null;
     }
 }
コード例 #2
0
 public SCPKG_LUCKYDRAW_DATA_NTF()
 {
     this.stDiamond = (CSDT_LUCKYDRAW_INFO)ProtocolObjectPool.Get(CSDT_LUCKYDRAW_INFO.CLASS_ID);
     this.stCoupons = (CSDT_LUCKYDRAW_INFO)ProtocolObjectPool.Get(CSDT_LUCKYDRAW_INFO.CLASS_ID);
 }
コード例 #3
0
 public override void OnUse()
 {
     this.stDiamond = (CSDT_LUCKYDRAW_INFO)ProtocolObjectPool.Get(CSDT_LUCKYDRAW_INFO.CLASS_ID);
     this.stCoupons = (CSDT_LUCKYDRAW_INFO)ProtocolObjectPool.Get(CSDT_LUCKYDRAW_INFO.CLASS_ID);
 }