summaryrefslogtreecommitdiff
path: root/docs/character_gifts.md
blob: 6aa297f870d13630542c493cd7f5730b14279f55 (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(10) | unsigned   |     | NO   | 0       |       |         |
| [item_guid][2] | int(10) | unsigned   | PRI | NO   | 0       |       |         |
| [entry][3]     | int(10) | unsigned   |     | NO   | 0       |       |         |
| [flags][4]     | int(10) | 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

### item\_guid

The GUID of the item. See item\_instance.guid

### entry

The entry of the item. See item\_template.entry

### flags

`field-no-description|4`

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