- summary: Sets the search of the estate agency: which houses for sale to list, and in what order.
- area: Game.House
Sets the search of the estate agency: which houses for sale to list, and in what order.
Kind request · Area Game.House
TO SEARCH THE HOUSES FOR SALE
1. Send this with your filters:
- HousesToSellFiltersRequest.area_id: an area id, or -1 for any area;
- HousesToSellFiltersRequest.at_least_room_number and
HousesToSellFiltersRequest.at_least_chest_number: minimums;
- HousesToSellFiltersRequest.skill_requested: a skill the house must
offer, or 0 for any;
- HousesToSellFiltersRequest.price_max: the highest price, in kamas;
- HousesToSellFiltersRequest.order_by: the sort, a RealEstateOrder.
2. Then send HousesToSellRequest for page 1. The official client always
sends the two together, this one first.
3. The answer is HousesToSellEvent, the first page of results.
TO TURN PAGES, send only HousesToSellRequest: the official client does not
resend the filters, so the server keeps the last ones.
When you may send it
- Requires
context_readyinferred - Raised by: the estate-agency window opens, or the player presses Search (or Enter), or sorts by price or name proven
Related messages
- You will then receive
HousesToSellEventinferred — the official client sends HousesToSellRequest right after it, and the page that comes back follows these filters
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | skill_requested | int32 | Only houses offering this skill (a skill id), or 0 for any skill. Observed: 0 | required |
| 2 | order_by | RealEstateOrder | How to sort the results, a RealEstateOrder.The official client's price sort sends PRICE_ASC or PRICE_DSC. Its area sort sends 2 or 3 and its name sort 4 or 5, numbers RealEstateOrder does not declare. | optional |
| 3 | price_max | int64 | The highest price, in kamas. Observed: 2147483647With the price box empty or 0, the official client sends 2147483647. | required |
| 4 | at_least_chest_number | int32 | Only houses with at least this many chests. The official client sends the number written on the selected entry of its chests menu. | required |
| 5 | area_id | int32 | Only houses in this area (an area id), or -1 for any area. Observed: -1 | required |
| 7 | at_least_room_number | int32 | Only houses with at least this many rooms. The official client sends the number written on the selected entry of its rooms menu. | required |