public override void OnRelease() { if (this.stMatchInfo != null) { this.stMatchInfo.Release(); this.stMatchInfo = null; } if (this.stSymbolPage != null) { this.stSymbolPage.Release(); this.stSymbolPage = null; } if (this.stFreeHeroRcd != null) { this.stFreeHeroRcd.Release(); this.stFreeHeroRcd = null; } if (this.stBanTime != null) { this.stBanTime.Release(); this.stBanTime = null; } if (this.stBriefInfo != null) { this.stBriefInfo.Release(); this.stBriefInfo = null; } if (this.stGameVip != null) { this.stGameVip.Release(); this.stGameVip = null; } }
public COMDT_GAMEACNT_DETAIL() { this.stMatchInfo = (COMDT_ACNT_MATCH_BRIEF_INFO)ProtocolObjectPool.Get(COMDT_ACNT_MATCH_BRIEF_INFO.CLASS_ID); this.stSymbolPage = (COMDT_GAMEACNT_SYMBOLPAGE)ProtocolObjectPool.Get(COMDT_GAMEACNT_SYMBOLPAGE.CLASS_ID); this.stFreeHeroRcd = (COMDT_FREEHERO_INACNT)ProtocolObjectPool.Get(COMDT_FREEHERO_INACNT.CLASS_ID); this.stBanTime = (COMDT_ACNT_BANTIME)ProtocolObjectPool.Get(COMDT_ACNT_BANTIME.CLASS_ID); this.stBriefInfo = (COMDT_ACNT_EXTRAINFO)ProtocolObjectPool.Get(COMDT_ACNT_EXTRAINFO.CLASS_ID); this.stGameVip = (COMDT_GAME_VIP_CLIENT)ProtocolObjectPool.Get(COMDT_GAME_VIP_CLIENT.CLASS_ID); }