bool _PostLoad(ggc.Foundation.CMapT <int, CFxsTableInfoRow> rows) { if (rows == null) { return(false); } m_mapFxsTableInfos.Clear(); return(true); }
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)); }
public CFxsTable() { m_mapFxsTableInfos = new ggc.Foundation.CMapT <int, CFxsTableInfo>(); }
public CUniqueString() { m_uniqueStrings = new ggc.Foundation.CMapT <string, string>(); }