Phelon
Well-Known Member
- Joined
- Jan 15, 2010
- Messages
- 2,591
- Reaction score
- 134
I am getting a weird null error when I try to Count the number of the getAuctionBuyList. For some reason it is not letting me count it and it also contains no values. Anyone have any possible reason as to WHY this is happening? To give this in context: I am trying to scan the WHOLE of the auction house via AuctionCategory.
Code:
var req = new AuctionRequestParams(AuctionCategory.Off, 0, 0);
main.Log("AuctionRequestParams");
List<AuctionItem> items = main.getAuctionBuyList(req);
main.Log("Items: " + main.getAuctionBuyList(req).Count);