Esempio n. 1
0
 public override void OnRelease()
 {
     this.dwScore     = 0;
     this.dwTimeStamp = 0;
     if (this.stAcntInfo != null)
     {
         this.stAcntInfo.Release();
         this.stAcntInfo = null;
     }
     this.dwRankType = 0;
     this.dwSubType  = 0;
     if (this.stDetailInfo != null)
     {
         this.stDetailInfo.Release();
         this.stDetailInfo = null;
     }
 }
Esempio n. 2
0
 public override void OnUse()
 {
     this.stAcntInfo   = (COMDT_WORLD_RANK_ACNT)ProtocolObjectPool.Get(COMDT_WORLD_RANK_ACNT.CLASS_ID);
     this.stDetailInfo = (COMDT_RANKING_LIST_ITEM_EXTRA_DETAIL)ProtocolObjectPool.Get(COMDT_RANKING_LIST_ITEM_EXTRA_DETAIL.CLASS_ID);
 }