public SGData GetUrlListData(int groupid) { SGUrlListData tmpData = null; if (m_UrlListData.TryGetValue(groupid, out tmpData) != true) { return(null); } return(m_UrlListData[groupid]); }
public void SetUrlListData(HsNetWork hs, int groupid, SGData data) { SGUrlListData tmpData = null; if (m_UrlListData.TryGetValue(groupid, out tmpData) == true) { m_UrlListData.Remove(groupid); tmpData = null; } tmpData = new SGUrlListData(); tmpData.Copy(hs, data); m_UrlListData[groupid] = tmpData; }