trydis/Fifa-Ultimate-Team-2013-Toolkit — pull request #24 by BadDoggie (2013-08-21 14:25:46+00:00)
Title: Many Changes in Baddoggie Branch

Have made a heap of changes.

Major changes/ new functionality:
* Enable searching of any item from FUT. New SearchRequest has ability to specify 'Type' and 'Category', as with WebApp, and all are defined in Model/ResourceType.cs, so you can search for Contracts, Player Formations etc.
- Overloaded method 'SearchParameters' to enable searching, without impact on currently working PlayerSearchParameters.
- Created new ItemSearchParameters:

var searchParameters = new ItemSearchParameters
{
Type = development,
Category = contract,
Page = searchPage,
Level = Level.Gold,
MinBid = 0,
MaxBid = 0,
MinBuy = 0,
MaxBuy = 0
};

(Types and Categories can be used as per Classes in SearchTypes,cs. Player search can also be done by including Type = player and omitting Category. All else functions as with PlayerSearchType).

* Created Hierarchical setup of Teams within respective Leagues, as wells as Type and Categories. Enables user to create UI elements (e.g. combo boxes) that can adjust to show only the appropriate items (eg. set League to Bundesliga, and you won't see ManUtd!).
* Moved all Search Parameters from PlayerSearchParameters to SearchParameters class, as most are used by different searches (eg Manager).

Minor bugfixes:
* Fixed incorrect League ID for LigaMX
* Changed case of all leagues to match Trydis/Master
* Changed CalculateBid to return "StartingBid" in the case that there are no current bids (previously was setting to currentPrice to StartingBid, then adding "NextBid" to that.