summaryrefslogtreecommitdiff
path: root/docs/character_gifts.md
blob: 13fd3192089c2944d8a8550efa57862d0790a4e4 (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
40
41
# character\_gifts

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

**The \`character\_gifts\` table**

This table holds data about wrapped/gift items.

**Structure**

| Field          | Type | Attributes | Key | Null | Default | Extra | Comment |
| -------------- | ---- | ---------- | --- | ---- | ------- | ----- | ------- |
| [guid][1]      | INT  | UNSIGNED   |     | NO   | 0       |       |         |
| [item_guid][2] | INT  | UNSIGNED   | PRI | NO   | 0       |       |         |
| [entry][3]     | INT  | UNSIGNED   |     | NO   | 0       |       |         |
| [flags][4]     | INT  | UNSIGNED   |     | NO   | 0       |       |         |

[1]: #guid
[2]: #item_guid
[3]: #entry
[4]: #flags

**Description of the fields**

### guid

The GUID of the character. See [characters.guid](characters#guid).

### item\_guid

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

### entry

The entry of the item. See [item\_template.entry](item_template#entry).

### flags

`field-no-description|4`

*Note for future research: max flags 13369920? FieldFlags of ProtoFlags?*