Ejemplo n.º 1
0
    public float GetFloat(string key)
    {
        try
        {
            if (this.ContainsKey(key))
            {
                return(ParseTool.GetFloat(this[key]));
            }

            if (data.m_defaultValue.ContainsKey(key))
            {
                return(ParseTool.GetFloat(data.m_defaultValue[key]));
            }
        }
        catch (Exception e)
        {
            throw new Exception("SingleData GetFloat Error TableName is :->" + data.m_tableName + "<- key :->" + key + "<-  singleDataName : ->" + m_SingleDataKey + "<- \n" + e.ToString());
        }

        throw new Exception("Don't Exist Value or DefaultValue by ->" + key + "<- TableName is : ->" + data.m_tableName + "<- singleDataName : ->" + m_SingleDataKey + "<-"); // throw
    }