public override bool ParseDataFromNDT(TsDataReader dr) { foreach (TsDataReader.Row data in dr) { GameWebCallURLInfo gameWebCallURLInfo = new GameWebCallURLInfo(); gameWebCallURLInfo.SetData(data); this.AddData(gameWebCallURLInfo); } return(true); }
public static string GetWeCallURL(eGameWebCallURL eType) { if (TableData_GameWebCallURLInfo.m_dicGameWebCallURLInfo.ContainsKey(eType)) { GameWebCallURLInfo gameWebCallURLInfo = TableData_GameWebCallURLInfo.m_dicGameWebCallURLInfo[eType]; if (gameWebCallURLInfo != null) { return(gameWebCallURLInfo.m_stWebcallUrl); } } return(string.Empty); }
public void AddData(GameWebCallURLInfo info) { if (info == null) { return; } if (TableData_GameWebCallURLInfo.m_dicGameWebCallURLInfo == null) { return; } if (!TableData_GameWebCallURLInfo.m_dicGameWebCallURLInfo.ContainsKey(info.m_eType)) { TableData_GameWebCallURLInfo.m_dicGameWebCallURLInfo.Add(info.m_eType, info); } }