public override void OnRelease()
 {
     this.iMMR             = 0;
     this.dwTotalFightCnt  = 0u;
     this.dwTotalWinCnt    = 0u;
     this.dwScore          = 0u;
     this.bState           = 0;
     this.dwContinuousWin  = 0u;
     this.dwContinuousLose = 0u;
     if (this.stGradeUp != null)
     {
         this.stGradeUp.Release();
         this.stGradeUp = null;
     }
     if (this.stGradeDown != null)
     {
         this.stGradeDown.Release();
         this.stGradeDown = null;
     }
     this.dwSeasonIdx           = 0u;
     this.dwSeasonStartTime     = 0u;
     this.dwSeasonEndTime       = 0u;
     this.dwMaxContinuousWinCnt = 0u;
     this.bGetReward            = 0;
     this.bSubState             = 0;
     this.bMaxSeasonGrade       = 0;
     this.dwLastActiveTime      = 0u;
     this.dwAddScoreOfConWinCnt = 0u;
     this.dwMaxSeasonClass      = 0u;
     this.dwTopClassOfRank      = 0u;
 }
Example #2
0
 public override void OnRelease()
 {
     this.iMMR             = 0;
     this.dwTotalFightCnt  = 0;
     this.dwTotalWinCnt    = 0;
     this.dwScore          = 0;
     this.bState           = 0;
     this.dwContinuousWin  = 0;
     this.dwContinuousLose = 0;
     if (this.stGradeUp != null)
     {
         this.stGradeUp.Release();
         this.stGradeUp = null;
     }
     if (this.stGradeDown != null)
     {
         this.stGradeDown.Release();
         this.stGradeDown = null;
     }
     this.dwSeasonIdx           = 0;
     this.dwSeasonStartTime     = 0;
     this.dwSeasonEndTime       = 0;
     this.dwMaxContinuousWinCnt = 0;
     this.bGetReward            = 0;
     this.bSubState             = 0;
     this.bMaxSeasonGrade       = 0;
 }
 public COMDT_RANKDETAIL()
 {
     this.stGradeUp   = (COMDT_RANK_GRADEUP)ProtocolObjectPool.Get(COMDT_RANK_GRADEUP.CLASS_ID);
     this.stGradeDown = (COMDT_RANK_GRADEDOWN)ProtocolObjectPool.Get(COMDT_RANK_GRADEDOWN.CLASS_ID);
 }
 public override void OnUse()
 {
     this.stGradeUp   = (COMDT_RANK_GRADEUP)ProtocolObjectPool.Get(COMDT_RANK_GRADEUP.CLASS_ID);
     this.stGradeDown = (COMDT_RANK_GRADEDOWN)ProtocolObjectPool.Get(COMDT_RANK_GRADEDOWN.CLASS_ID);
 }