public override void OnRelease() { if (this.stBattleParam != null) { this.stBattleParam.Release(); this.stBattleParam = null; } if (this.stCommonData != null) { this.stCommonData.Release(); this.stCommonData = null; } }
public COMDT_SINGLE_GAME_SETTLE() { this.stBattleParam = (COMDT_SINGLE_GAME_PARAM)ProtocolObjectPool.Get(COMDT_SINGLE_GAME_PARAM.CLASS_ID); this.stCommonData = (COMDT_SETTLE_COMMON_DATA)ProtocolObjectPool.Get(COMDT_SETTLE_COMMON_DATA.CLASS_ID); }