public IDictionary <int, TechTreeNode> GetNodes() { var prices = GetPrices(); return(Db.Query().CommandText("select * from techtree").Execute().Select(r => { var node = TechTreeNode.CreateFromDataRecord(r); node.Prices = prices[node.Definition].ToArray(); return node; }).ToDictionary(n => n.Definition)); }
public void NodeUnlocked(long owner, TechTreeNode node) { }
public void NodeUnlocked(long owner, TechTreeNode node) { _nodes.Remove(owner); }