diff options
| author | Bogir[rus] <m-1@bk.ru> | 2022-01-03 23:18:19 +0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-03 19:18:19 +0100 |
| commit | b97b387e789c1f36b07770a34c3be0eaef3bee39 (patch) | |
| tree | 4c8246733d967ca8f60b1f5f77cf5551f9e70cc6 /docs/mail.md | |
| parent | b52f1b6a0d4b9b77df3a8b9206c5e7119e38c495 (diff) | |
| download | wiki-b97b387e789c1f36b07770a34c3be0eaef3bee39.tar.gz wiki-b97b387e789c1f36b07770a34c3be0eaef3bee39.tar.bz2 wiki-b97b387e789c1f36b07770a34c3be0eaef3bee39.zip | |
update mail.md (#671)
Additional description about formatted Subject and Body
Diffstat (limited to 'docs/mail.md')
| -rw-r--r-- | docs/mail.md | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/docs/mail.md b/docs/mail.md index b759e9f..c1d4279 100644 --- a/docs/mail.md +++ b/docs/mail.md @@ -86,10 +86,57 @@ Here is receiver's [character.guid](character#guid). Here is stored mail subject. +If [stationery][3] is 62, subject has formatted data: + +`itemEntry:0:response:lotId:itemCount` + +- **itemEntry**: entry field from item_template table + +- 0: allways 0 + +- **response**: Flag from 0 to 6 + +| Flag | Comment | +| ---- | --------------------------- | +| 0 | AUCTION_OUTBIDDED | +| 1 | AUCTION_WON | +| 2 | AUCTION_SUCCESSFUL | +| 3 | AUCTION_EXPIRED | +| 4 | AUCTION_CANCELLED_TO_BIDDER | +| 5 | AUCTION_CANCELED | +| 6 | AUCTION_SALE_PENDING | + +- **lotId**: id field from auctionhouse table + +- **itemCount**: amount of item at this Lot + + ### body The text contained in the mail. Max length is 8000 characters. +If [stationery][3] is 62, body has formatted data: + +`hexID:bid:buyout:deposit:cut:delay:eta` + +- **hexID**: hex value of itemowner's GUID (guid field from characters table) + +- **bid**: ending bid for this lot + +- **buyout**: buyout price of lot + +- **deposit**: amount of money which will be taken by auctionhouse and returned then auction ends + +- **cut**: Commission fee. Will be taken by auctionhouse then auction ends + +- **delay**: time in seconds to delay mail with money for successfully solded lot + +- **eta**: packed time to next mail whth money which appears in mail heder and body of notification mail + +This formatted data seen only in mail with notification about successful auction or about pending mail with money. + + + ### has_items Default: 0, |
