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; } }
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; } }
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); }
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); }