Like many of the API calls getAuctionBuyList Method states that "In the case of false returns one of the following errors" however it is impossible that this method can ever return a bool due to it returning AuctionItem or null.
This causes a compile error as items must be AuctionItem and cannot be a bool.
Can you please patch or suggest what is being done wrong?
Code:
List<AuctionItem> items = getAuctionBuyList(req, 0);
if (items == false) {
Log(DateTime.Now.ToShortTimeString() + " ERROR: " + GetLastError().ToString());
}
This causes a compile error as items must be AuctionItem and cannot be a bool.
Can you please patch or suggest what is being done wrong?