public void Save(string rTableName) { IDataStorageTable rTable = null; if (this.mDataTables.TryGetValue(rTableName, out rTable)) { rTable.Save(); } }
public void AddTable(string rTableName, IDataStorageTable rTable) { if (this.mDataTables.ContainsKey(rTableName)) { Debug.LogError($"Data table is repeat: {rTableName}."); return; } rTable.TableName = rTableName; this.mDataTables.Add(rTableName, rTable); }