- summary: Puts one of your houses on sale at a price, or takes it off sale.
- area: Game.House
Puts one of your houses on sale at a price, or takes it off sale.
Kind request · Area Game.House
TO PUT A HOUSE ON SALE
1. Send HouseSellRequest.instance_id = your house,
HouseSellRequest.amount = the price in kamas,
HouseSellRequest.for_sale = true.
2. Set HouseSellRequest.is_inside = true when you are standing inside
that house, false otherwise.
TO TAKE IT OFF SALE
Send the same message with HouseSellRequest.for_sale = false. The official
client still sends the current price.
When you may send it
- Requires
context_readyinferred - Raised by: the player validates a sale price, or cancels a sale, in the house window proven
Related messages
- Reply not yet recovered: the server's sale update (HouseSellingUpdateEvent in beta) has no signature here yet.
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | amount | int64 | The sale price, in kamas. Taking a house off sale, the official client sends the current price here too. | required |
| 2 | is_inside | bool | true when you send it from inside that house. | optional |
| 3 | instance_id | int32 | Your house: its instance id. | required |
| 4 | for_sale | bool | true puts the house on sale (or changes its price); false takes it off sale. false is the protobuf default, so taking a house off sale leaves it off the wire. | optional |