summaryrefslogtreecommitdiff
path: root/docs/item_refund_instance.md
blob: f7e862d9773c75a9982dd34411660473a9e77f48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# item\_refund\_instance

[<-Back-to:Characters](database-characters.md)

**The \`item\_refund\_instance\` table**

This table serves as a receipt of refundable purchases during a 2 hour ingame time window. It holds information on what currency was spent to purchase the item.

**Structure**

| Field                 | Type     | Attributes | Key | Null | Default | Extra  | Comment     |
| --------------------- | -------- | ---------- | --- | ---- | ------- | ------ | ----------- |
| [item_guid][1]        | INT      | UNSIGNED   | PRI | NO   |         |        | Item GUID   |
| [player_guid][2]      | INT      | UNSIGNED   | PRI | NO   |         |        | Player GUID |
| [paidMoney][3]        | INT      | UNSIGNED   |     | NO   | 0       |        |             |
| [paidExtendedCost][4] | SMALLINT | UNSIGNED   |     | NO   | 0       |        |             |

[1]: #itemguid
[2]: #playerguid
[3]: #paidmoney
[4]: #paidextendedcost

**Description of the fields**

### item\_guid

The GUID of the item bought by the vendor. See [item\_instance.guid](item_instance#guid).

### player\_guid

The GUID of the player eligible for the refund. See [characters.guid](characters#guid).

### paidMoney

The amount of money (in copper) paid for the item.

### paidExtendedCost

The ItemExtendedCost.dbc ID that was paid for the item.