Exemplo n.º 1
0
 public override void OnUse()
 {
     this.stQuality         = (COMDT_ACNTHERO_QUALITY)ProtocolObjectPool.Get(COMDT_ACNTHERO_QUALITY.CLASS_ID);
     this.stSkill           = (COMDT_SKILLARRAY)ProtocolObjectPool.Get(COMDT_SKILLARRAY.CLASS_ID);
     this.stProficiency     = (COMDT_HERO_PROFICIENCY)ProtocolObjectPool.Get(COMDT_HERO_PROFICIENCY.CLASS_ID);
     this.stTalent          = (COMDT_TALENTARRAY)ProtocolObjectPool.Get(COMDT_TALENTARRAY.CLASS_ID);
     this.stStatisticDetail = (COMDT_HERO_STATISTIC_DETAIL)ProtocolObjectPool.Get(COMDT_HERO_STATISTIC_DETAIL.CLASS_ID);
 }
Exemplo n.º 2
0
 public override void OnRelease()
 {
     this.dwHeroID        = 0;
     this.dwGameWinNum    = 0;
     this.dwGameLoseNum   = 0;
     this.dwProficiencyLv = 0;
     this.dwProficiency   = 0;
     if (this.stStatisticDetail != null)
     {
         this.stStatisticDetail.Release();
         this.stStatisticDetail = null;
     }
 }
Exemplo n.º 3
0
 public override void OnRelease()
 {
     this.dwHeroID   = 0;
     this.dwMaskBits = 0;
     this.wLevel     = 0;
     this.wStar      = 0;
     if (this.stQuality != null)
     {
         this.stQuality.Release();
         this.stQuality = null;
     }
     this.dwExp = 0;
     if (this.stSkill != null)
     {
         this.stSkill.Release();
         this.stSkill = null;
     }
     if (this.stProficiency != null)
     {
         this.stProficiency.Release();
         this.stProficiency = null;
     }
     this.bSymbolPageWear = 0;
     this.wSkinID         = 0;
     this.dwGameWinNum    = 0;
     this.dwGameLoseNum   = 0;
     if (this.stTalent != null)
     {
         this.stTalent.Release();
         this.stTalent = null;
     }
     this.dwRankGameTotalFightCnt = 0;
     this.dwRankGameTotalWinCnt   = 0;
     this.dwDeadLine = 0;
     if (this.stStatisticDetail != null)
     {
         this.stStatisticDetail.Release();
         this.stStatisticDetail = null;
     }
     this.dwLastMasterGameSec   = 0;
     this.dwMasterTotalFightCnt = 0;
     this.dwMasterTotalWinCnt   = 0;
 }
Exemplo n.º 4
0
 public override void OnUse()
 {
     this.stStatisticDetail = (COMDT_HERO_STATISTIC_DETAIL)ProtocolObjectPool.Get(COMDT_HERO_STATISTIC_DETAIL.CLASS_ID);
 }
Exemplo n.º 5
0
 public COMDT_MOST_USED_HERO_INFO()
 {
     this.stStatisticDetail = (COMDT_HERO_STATISTIC_DETAIL)ProtocolObjectPool.Get(COMDT_HERO_STATISTIC_DETAIL.CLASS_ID);
 }