public override void OnRelease() { this.dwWinCnt = 0u; this.dwGameCnt = 0u; if (this.stAcntInfo != null) { this.stAcntInfo.Release(); this.stAcntInfo = null; } if (this.stEquipList != null) { this.stEquipList.Release(); this.stEquipList = null; } if (this.stSymbolPageInfo != null) { this.stSymbolPageInfo.Release(); this.stSymbolPageInfo = null; } }
public COMDT_RANKING_LIST_ITEM_EXTRA_MASTER_HERO() { this.stAcntInfo = (COMDT_RANKING_LIST_ITEM_EXTRA_PLAYER)ProtocolObjectPool.Get(COMDT_RANKING_LIST_ITEM_EXTRA_PLAYER.CLASS_ID); this.stEquipList = (COMDT_EQUIP_LIST)ProtocolObjectPool.Get(COMDT_EQUIP_LIST.CLASS_ID); this.stSymbolPageInfo = (COMDT_SYMBOLPAGE_INFO)ProtocolObjectPool.Get(COMDT_SYMBOLPAGE_INFO.CLASS_ID); }