public override void OnRelease() { this.ullUserQQ = 0uL; this.iSettleType = 0; if (this.stCheatDetail != null) { this.stCheatDetail.Release(); this.stCheatDetail = null; } if (this.stBattleParam != null) { this.stBattleParam.Release(); this.stBattleParam = null; } if (this.stServerParam != null) { this.stServerParam.Release(); this.stServerParam = null; } if (this.stMemberDetail != null) { this.stMemberDetail.Release(); this.stMemberDetail = null; } this.bFinishType = 0; if (this.stSettleDetail != null) { this.stSettleDetail.Release(); this.stSettleDetail = null; } }
public COMDT_MULTI_GAME_SETTLE() { this.stCheatDetail = (COMDT_INGAME_CHEAT_DETAIL)ProtocolObjectPool.Get(COMDT_INGAME_CHEAT_DETAIL.CLASS_ID); this.stBattleParam = (COMDT_MULTI_GAME_PARAM)ProtocolObjectPool.Get(COMDT_MULTI_GAME_PARAM.CLASS_ID); this.stServerParam = (COMDT_MULTI_GAME_SERVER_PARAM)ProtocolObjectPool.Get(COMDT_MULTI_GAME_SERVER_PARAM.CLASS_ID); this.stMemberDetail = (COMDT_MULTIGAME_MEMBER_BRIEF_INFO_DETAIL)ProtocolObjectPool.Get(COMDT_MULTIGAME_MEMBER_BRIEF_INFO_DETAIL.CLASS_ID); this.stSettleDetail = (COMDT_MULTIGAME_SETTLE_UNION)ProtocolObjectPool.Get(COMDT_MULTIGAME_SETTLE_UNION.CLASS_ID); }