public override void OnRelease() { this.bTodayCnt = 0; this.dwLastRefreshTime = 0u; this.dwContinuousLoseCnt = 0u; this.dwKillNum = 0u; this.dwDeadNum = 0u; if (this.stWarmBattleOfRank != null) { this.stWarmBattleOfRank.Release(); this.stWarmBattleOfRank = null; } }
public COMDT_WARM_BATTLE_DETAIL() { this.BattleCnt = new uint[5]; this.stWarmBattleOfRank = (COMDT_WARM_BATTLE_OF_RANK)ProtocolObjectPool.Get(COMDT_WARM_BATTLE_OF_RANK.CLASS_ID); }
public override void OnUse() { this.stWarmBattleOfRank = (COMDT_WARM_BATTLE_OF_RANK)ProtocolObjectPool.Get(COMDT_WARM_BATTLE_OF_RANK.CLASS_ID); }