summaryrefslogtreecommitdiff
path: root/docs/es/item_instance.md
blob: f59f2fc1bc3d24ad5425f970347656e982680856 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# item\_instance

[<-Volver a:Characters](database-characters.md)

**Tabla \`item\_instance\`**

La tabla alberga información de instancias de Items individuales para todos los objetos actualmente equipados en algún tipo de bolsa o banco de personaje, en casas de subastas, en bancos de gremio o en correos.

**Estructura**

| Field                  | Type      | Attributes | Key | Null | Default | Extra | Comment |
| ---------------------- | --------- | ---------- | --- | ---- | ------- | ----- | ------- |
| [guid][1]              | INT       | UNSIGNED   | PRI | NO   | 0       |       |         |
| [itemEntry][2]         | MEDIUMINT | UNSIGNED   |     | NO   | 0       |       |         |
| [owner_guid][3]        | INT       | UNSIGNED   |     | NO   | 0       |       |         |
| [creatorGuid][4]       | INT       | UNSIGNED   |     | NO   | 0       |       |         |
| [giftCreatorGuid][5]   | INT       | UNSIGNED   |     | NO   | 0       |       |         |
| [count][6]             | INT       | UNSIGNED   |     | NO   | 1       |       |         |
| [duration][7]          | INT       | SIGNED     |     | NO   | 0       |       |         |
| [charges][8]           | TINYTEXT  | SIGNED     |     | YES  |         |       |         |
| [flags][9]             | MEDIUMINT | UNSIGNED   |     | NO   | 0       |       |         |
| [enchantments][10]     | TEXT      | SIGNED     |     | NO   |         |       |         |
| [randomPropertyId][11] | SMALLINT  | SIGNED     |     | NO   | 0       |       |         |
| [durability][12]       | SMALLINT  | UNSIGNED   |     | NO   | 0       |       |         |
| [playedTime][13]       | INT       | UNSIGNED   |     | NO   | 0       |       |         |
| [text][14]             | TEXT      | SIGNED     |     | YES  |         |       |         |

[1]: #guid
[2]: #itementry
[3]: #ownerguid
[4]: #creatorguid
[5]: #giftcreatorguid
[6]: #count
[7]: #duration
[8]: #charges
[9]: #flags
[10]: #enchantments
[11]: #randompropertyid
[12]: #durability
[13]: #playedtime
[14]: #text

**Descripción de los Campos**

### guid

GUID del Item. Éste número es único para cada instancia del Item.

### itemEntry

[Item_template.entry](item_template#entry).

### owner\_guid

GUID del personaje quien posée este Item. Véase [characters.guid](characters#guid).

### creatorGuid

[Characters.guid](characters#guid) del personaje que creó el item.

### giftCreatorGuid

[Characters.guid](characters#guid) del personaje quien creó el [item](character_gifts#item_guid).

### count

Número actual de copias del Item en la casilla.

### duration

`field-no-description|6` (¿Duración del Item?(si tiene))

### charges

El número de cargas para cada una de las cinco posibles cargas del hechizo en un Item, especificado a través de cinco enteros separados por espacios.

### flags

`field-no-description|8` (¿Marcadores del Item?(si tiene))

### enchantments

Encantamientos desde SpellItemEnchantment.dbc. Véase [item_instance_enchantments](item_instance_enchantments.md)

### randomPropertyId

`field-no-description|10` (propiedad aleatoria(si está encantado))

### durability

Durabilidad actual del item.

### playedTime

Tiempo medido en segundos.

### text

El texto contenido en este Item.