コード例 #1
0
 public override void OnRelease()
 {
     if (this.stReward != null)
     {
         this.stReward.Release();
         this.stReward = null;
     }
     this.bNextLevelNo = 0;
     if (this.stNextEnemyInfo != null)
     {
         this.stNextEnemyInfo.Release();
         this.stNextEnemyInfo = null;
     }
     if (this.stMultipleDetail != null)
     {
         this.stMultipleDetail.Release();
         this.stMultipleDetail = null;
     }
 }
コード例 #2
0
 public override void OnRelease()
 {
     this.bLevelNo      = 0;
     this.iLevelID      = 0;
     this.bLevelStatus  = 0;
     this.bRewardStatus = 0;
     this.dwAccPassCnt  = 0u;
     if (this.stEnemyDetail != null)
     {
         this.stEnemyDetail.Release();
         this.stEnemyDetail = null;
     }
     if (this.stLuckyBuffDetail != null)
     {
         this.stLuckyBuffDetail.Release();
         this.stLuckyBuffDetail = null;
     }
     if (this.stMultipleDetail != null)
     {
         this.stMultipleDetail.Release();
         this.stMultipleDetail = null;
     }
 }
コード例 #3
0
 public override void OnUse()
 {
     this.stReward         = (COMDT_REWARD_DETAIL)ProtocolObjectPool.Get(COMDT_REWARD_DETAIL.CLASS_ID);
     this.stNextEnemyInfo  = (COMDT_BURNING_ENEMY_TEAM_INFO)ProtocolObjectPool.Get(COMDT_BURNING_ENEMY_TEAM_INFO.CLASS_ID);
     this.stMultipleDetail = (COMDT_REWARD_MULTIPLE_DETAIL)ProtocolObjectPool.Get(COMDT_REWARD_MULTIPLE_DETAIL.CLASS_ID);
 }
コード例 #4
0
 public COMDT_BURNING_LEVEL_INFO()
 {
     this.stEnemyDetail     = (COMDT_BURNING_ENEMY_TEAM_INFO)ProtocolObjectPool.Get(COMDT_BURNING_ENEMY_TEAM_INFO.CLASS_ID);
     this.stLuckyBuffDetail = (COMDT_BURNING_LUCKY_BUFF_INFO)ProtocolObjectPool.Get(COMDT_BURNING_LUCKY_BUFF_INFO.CLASS_ID);
     this.stMultipleDetail  = (COMDT_REWARD_MULTIPLE_DETAIL)ProtocolObjectPool.Get(COMDT_REWARD_MULTIPLE_DETAIL.CLASS_ID);
 }