public void SetData(COMDT_ACNT_SYMBOLINFO svrInfo) { this.m_pageCount = svrInfo.bValidPageCnt; this.m_pageBuyCnt = svrInfo.bBuyPageCnt; for (int i = 0; i < svrInfo.bValidPageCnt; i++) { this.SetSymbolPageData(i, svrInfo.astPageList[i]); } this.SetSymbolPageMaxLevel(); SetMaxSymbolCompLvl(); this.InitSymbolPvpLevelList(); this.GridBuyInfo = svrInfo.astPageExtra; }
public void SetData(COMDT_ACNT_SYMBOLINFO svrInfo) { this.m_pageCount = (int)svrInfo.bValidPageCnt; this.m_pageBuyCnt = (int)svrInfo.bBuyPageCnt; for (int i = 0; i < (int)svrInfo.bValidPageCnt; i++) { this.SetSymbolPageData(i, svrInfo.astPageList[i]); } this.SetSymbolPageMaxLevel(); this.InitSymbolPvpLevelList(); this.GridBuyInfo = svrInfo.astPageExtra; this.m_selSymbolRcmdHeroId = svrInfo.stRecommend.dwSelHeroID; this.m_selSymbolRcmdLevel = svrInfo.stRecommend.wSelSymbolLvl; }