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);
 }
Exemplo n.º 2
0
    public override void SetData(TsDataReader.Row row)
    {
        this.Init();
        int    num   = 0;
        string empty = string.Empty;

        row.GetColumn(num++, out empty);
        if (Enum.IsDefined(typeof(eGameWebCallURL), empty))
        {
            this.m_eType = (eGameWebCallURL)((int)Enum.Parse(typeof(eGameWebCallURL), empty));
        }
        empty = string.Empty;
        row.GetColumn(num++, out this.m_stWebcallUrl);
    }
Exemplo n.º 3
0
 public virtual void Init()
 {
     this.m_eType        = eGameWebCallURL.DEFAULT;
     this.m_stWebcallUrl = string.Empty;
 }