/// <summary>
 /// 读完所有表后处理
 /// </summary>
 public static void afterReadConfigAll()
 {
     _nameDic = new StringIntMap();
     foreach (ClientPlatformTypeConfig v in _dic)
     {
         if (v != null)
         {
             _nameDic.put(v.name, v.id);
         }
     }
 }
Beispiel #2
0
    /// <summary>
    /// 读完所有表后处理
    /// </summary>
    public static void afterReadConfigAll()
    {
        _dicT = new StringIntMap();

        BigFloatRankConfig[] values;
        BigFloatRankConfig   v;

        for (int i = (values = _dic.getValues()).Length - 1; i >= 0; --i)
        {
            if ((v = values[i]) != null)
            {
                _dicT.put(v.str, v.id);
            }
        }
    }