コード例 #1
0
 /// <summary>
 /// Get config of int type
 /// </summary>
 /// <returns>The int.</returns>
 /// <param name="section">Section.</param>
 /// <param name="key">Key.</param>
 /// <param name="ret">Ret.</param>
 public int GetInt(string section, string key, out Ret ret)
 {
     if (!ContainItem(section, key, out ret))
     {
         return(0);
     }
     return(FF.StringToInt(_config[section][key], out ret));
 }