Example #1
0
 bool _PostLoad(ggc.Foundation.CMapT <int, CFxsTableInfoRow> rows)
 {
     if (rows == null)
     {
         return(false);
     }
     m_mapFxsTableInfos.Clear();
     return(true);
 }
Example #2
0
 public bool LoadTable(string sTablePath)
 {
     ggc.Foundation.CMapT <int, CFxsTableInfoRow> rows;
     using (ggc.Foundation.CTable table = new ggc.Foundation.CTable())
     {
         rows = new ggc.Foundation.CMapT <int, CFxsTableInfoRow>();
         string sFilename = sTablePath + "Fxs.txt";
         if (table.LoadFile <int, CFxsTableInfoRow>(sFilename, ref rows) == false)
         {
             ggc.Foundation.Log.LogErrorMsg("Failed loading table - '" + sFilename + "'");
             return(false);
         }
         else
         {
             ggc.Foundation.Log.LogMsg("Table - '" + sFilename + "' loaded.");
         }
     }
     return(_PostLoad(rows));
 }
Example #3
0
 public CFxsTable()
 {
     m_mapFxsTableInfos = new ggc.Foundation.CMapT <int, CFxsTableInfo>();
 }
Example #4
0
 public CUniqueString()
 {
     m_uniqueStrings = new ggc.Foundation.CMapT <string, string>();
 }