So I was poking around for a way to query a list of all items for those sellable on the AH,
(My current AH bot set's up its own price's I just feed it a list of names). Poking around Intellisense I discovered the sqlCore stuff,
I tried to use it but it just hangs the bot completely after listing the first 4 results.
UI freeze and all.
Any suggestions?
(My current AH bot set's up its own price's I just feed it a list of names). Poking around Intellisense I discovered the sqlCore stuff,
I tried to use it but it just hangs the bot completely after listing the first 4 results.
UI freeze and all.
Code:
public List<SqlItem> GetAllItems() {
return (from s in this.sqlCore.sqlItems
where s.Value.sellable select s.Value).ToList();
}
foreach(SqlItem i in GetAllItems()) {
Log(i.name);
}
Any suggestions?