public bool Find(string race, string name, out CharacterDbEntry output) { foreach (var db in _dbs) { if (db.Race == race) { return(db.Find(name, out output)); } } output = null; return(false); }
public bool Find(string name, out CharacterDbEntry character) { foreach (var entry in _db) { if (entry.Name == name) { character = entry; return(true); } } character = null; return(false); }