Показ активных событий только по холидей_ид.)
[cswow.git] / include / player_data.php
blob7290844303fca859bf25f51cf38b49549c67638e
1 <?php
3 // Characters extra_flag
4 define('PLAYER_EXTRA_GM_ON', 0x0001);
5 define('PLAYER_EXTRA_GM_ACCEPT_TICKETS', 0x0002);
6 define('PLAYER_EXTRA_ACCEPT_WHISPERS', 0x0004);
7 define('PLAYER_EXTRA_TAXICHEAT', 0x0008);
8 define('PLAYER_EXTRA_GM_INVISIBLE', 0x0010);
9 define('PLAYER_EXTRA_GM_CHAT', 0x0020); // Show GM badge in chat messages
10 define('PLAYER_EXTRA_PVP_DEATH', 0x0100); // store PvP death status until corpse creating.
12 $qplevel = array('1'=>'1','2'=>'2','3'=>'3','4'=>'4','5'=>'5','6'=>'6','7'=>'7','8'=>'8','9'=>'9','10'=>'10','11'=>'11','12'=>'12','13'=>'13','14'=>'14','15'=>'15','16'=>'16','17'=>'17','18'=>'18','19'=>'19','20'=>'20','21'=>'21','22'=>'22','23'=>'23','24'=>'24','25'=>'25','26'=>'26','27'=>'27','28'=>'28','29'=>'29','30'=>'30',
13 '31'=>'31','32'=>'32','33'=>'33','34'=>'34','35'=>'35','36'=>'36','37'=>'37','38'=>'38','39'=>'39','40'=>'40','41'=>'41','42'=>'42','43'=>'43','44'=>'44','45'=>'45','46'=>'46','47'=>'47','48'=>'48','49'=>'49','50'=>'50','51'=>'51','52'=>'52','53'=>'53','54'=>'54','55'=>'55','56'=>'56','57'=>'57','58'=>'58','59'=>'59','60'=>'60',
14 '61'=>'61','62'=>'62','63'=>'63','64'=>'64','65'=>'65','66'=>'66','67'=>'67','68'=>'68','69'=>'69','70'=>'70','71'=>'71','72'=>'72','73'=>'73','74'=>'74','75'=>'75','76'=>'76','77'=>'77','78'=>'78','79'=>'79','80'=>'80');
16 // Êëàññû
17 define('CLASS_WARRIOR',1);
18 define('CLASS_PALADIN',2);
19 define('CLASS_HUNTER',3);
20 define('CLASS_ROGUE',4);
21 define('CLASS_PRIEST',5);
22 define('CLASS_DEATH_KNIGHT',6);
23 define('CLASS_SHAMAN',7);
24 define('CLASS_MAGE',8);
25 define('CLASS_WARLOCK',9);
26 define('CLASS_DRUID',11);
27 // Òèï ýíåðãèè
28 define('POWER_MANA', 0);
29 define('POWER_RAGE', 1);
30 define('POWER_FOCUS', 2);
31 define('POWER_ENERGY', 3);
32 define('POWER_HAPPINESS', 4);
33 define('POWER_RUNE', 5);
34 define('POWER_RUNIC_POWER', 6);
35 // Òèï ñòàòà
36 define('STAT_STRENGTH', 0);
37 define('STAT_AGILITY', 1);
38 define('STAT_STAMINA', 2);
39 define('STAT_INTELLECT', 3);
40 define('STAT_SPIRIT', 4);
41 // Òèï øêîëû/ðåçèñòà
42 define('SCHOOL_ARMOR', 0);
43 define('SCHOOL_HOLY', 1);
44 define('SCHOOL_FIRE', 2);
45 define('SCHOOL_NATURE', 3);
46 define('SCHOOL_FROST', 4);
47 define('SCHOOL_SHADOW', 5);
48 define('SCHOOL_ARCANE', 6);
49 // Ðàçëè÷íûå êîíñòàíòû
50 define('ATTACK_POWER_MAGIC_NUMBER',14);
51 define('BLOCK_PER_STRENGTH', 0.5);
52 define('HEALTH_PER_STAMINA', 10);
53 define('ARMOR_PER_AGILITY', 2);
54 define('MANA_PER_INTELLECT', 15);
55 define('MANA_REGEN_PER_SPIRIT', 0.2);
56 define('DODGE_PARRY_BLOCK_PERCENT_PER_DEFENSE', 0.04);
57 define('RESILIENCE_CRIT_CHANCE_TO_DAMAGE_REDUCTION_MULTIPLIER', 2.2);;
59 // Rating
60 define('CR_WEAPON_SKILL',1);
61 define('CR_DEFENSE_SKILL',2);
62 define('CR_DODGE',3);
63 define('CR_PARRY',4);
64 define('CR_BLOCK',5);
65 define('CR_HIT_MELEE',6);
66 define('CR_HIT_RANGED',7);
67 define('CR_HIT_SPELL',8);
68 define('CR_CRIT_MELEE',9);
69 define('CR_CRIT_RANGED',10);
70 define('CR_CRIT_SPELL',11);
71 define('CR_HIT_TAKEN_MELEE',12);
72 define('CR_HIT_TAKEN_RANGED',13);
73 define('CR_HIT_TAKEN_SPELL',14);
74 define('CR_CRIT_TAKEN_MELEE',15);
75 define('CR_CRIT_TAKEN_RANGED',16);
76 define('CR_CRIT_TAKEN_SPELL',17);
77 define('CR_HASTE_MELEE',18);
78 define('CR_HASTE_RANGED',19);
79 define('CR_HASTE_SPELL',20);
80 define('CR_WEAPON_SKILL_MAINHAND',21);
81 define('CR_WEAPON_SKILL_OFFHAND',22);
82 define('CR_WEAPON_SKILL_RANGED',23);
83 define('CR_EXPERTISE',24);
84 define('CR_ARMOR_PENETRATION', 25);
86 //Skills
87 define('SKILL_SWORDS',43);
88 define('SKILL_AXES',44);
89 define('SKILL_BOWS',45);
90 define('SKILL_GUNS',46);
91 define('SKILL_MACES',54);
92 define('SKILL_TWO_HANDED_SWORDS',55);
93 define('SKILL_DEFENCE',95);
94 define('SKILL_DUAL_WIELD',118);
95 define('SKILL_STAVES',136);
96 define('SKILL_TWO_HANDED_MACES',160);
97 define('SKILL_UNARMED',162);
98 define('SKILL_TWO_HANDED_AXE',172);
99 define('SKILL_DAGGERS',173);
100 define('SKILL_THROWN',176);
101 define('SKILL_CROSSBOWS',226);
102 define('SKILL_WANDS',228);
103 define('SKILL_POLEARMS',229);
104 define('SKILL_FIST_WEAPONS',473);
106 define('OBJECT_FIELD_GUID', 0x0000); // Size: 2, Type: LONG, Flags: PUBLIC
107 define('OBJECT_FIELD_TYPE', 0x0002); // Size: 1, Type: INT, Flags: PUBLIC
108 define('OBJECT_FIELD_ENTRY', 0x0003); // Size: 1, Type: INT, Flags: PUBLIC
109 define('OBJECT_FIELD_SCALE_X', 0x0004); // Size: 1, Type: FLOAT, Flags: PUBLIC
110 define('OBJECT_FIELD_PADDING', 0x0005); // Size: 1, Type: INT, Flags: NONE
111 define('OBJECT_END', 0x0006); //
113 define('UNIT_FIELD_CHARM', OBJECT_END + 0x0000); // Size: 2, Type: LONG, Flags: PUBLIC
114 define('UNIT_FIELD_SUMMON', OBJECT_END + 0x0002); // Size: 2, Type: LONG, Flags: PUBLIC
115 define('UNIT_FIELD_CRITTER', OBJECT_END + 0x0004); // Size: 2, Type: LONG, Flags: PRIVATE
116 define('UNIT_FIELD_CHARMEDBY', OBJECT_END + 0x0006); // Size: 2, Type: LONG, Flags: PUBLIC
117 define('UNIT_FIELD_SUMMONEDBY', OBJECT_END + 0x0008); // Size: 2, Type: LONG, Flags: PUBLIC
118 define('UNIT_FIELD_CREATEDBY', OBJECT_END + 0x000A); // Size: 2, Type: LONG, Flags: PUBLIC
119 define('UNIT_FIELD_TARGET', OBJECT_END + 0x000C); // Size: 2, Type: LONG, Flags: PUBLIC
120 define('UNIT_FIELD_CHANNEL_OBJECT', OBJECT_END + 0x000E); // Size: 2, Type: LONG, Flags: PUBLIC
121 define('UNIT_FIELD_BYTES_0', OBJECT_END + 0x0010); // Size: 1, Type: BYTES, Flags: PUBLIC
122 define('UNIT_FIELD_HEALTH', OBJECT_END + 0x0011); // Size: 1, Type: INT, Flags: PUBLIC
123 define('UNIT_FIELD_POWER1', OBJECT_END + 0x0012); // Size: 1, Type: INT, Flags: PUBLIC
124 define('UNIT_FIELD_POWER2', OBJECT_END + 0x0013); // Size: 1, Type: INT, Flags: PUBLIC
125 define('UNIT_FIELD_POWER3', OBJECT_END + 0x0014); // Size: 1, Type: INT, Flags: PUBLIC
126 define('UNIT_FIELD_POWER4', OBJECT_END + 0x0015); // Size: 1, Type: INT, Flags: PUBLIC
127 define('UNIT_FIELD_POWER5', OBJECT_END + 0x0016); // Size: 1, Type: INT, Flags: PUBLIC
128 define('UNIT_FIELD_POWER6', OBJECT_END + 0x0017); // Size: 1, Type: INT, Flags: PUBLIC
129 define('UNIT_FIELD_POWER7', OBJECT_END + 0x0018); // Size: 1, Type: INT, Flags: PUBLIC
130 define('UNIT_FIELD_MAXHEALTH', OBJECT_END + 0x0019); // Size: 1, Type: INT, Flags: PUBLIC
131 define('UNIT_FIELD_MAXPOWER1', OBJECT_END + 0x001A); // Size: 1, Type: INT, Flags: PUBLIC
132 define('UNIT_FIELD_MAXPOWER2', OBJECT_END + 0x001B); // Size: 1, Type: INT, Flags: PUBLIC
133 define('UNIT_FIELD_MAXPOWER3', OBJECT_END + 0x001C); // Size: 1, Type: INT, Flags: PUBLIC
134 define('UNIT_FIELD_MAXPOWER4', OBJECT_END + 0x001D); // Size: 1, Type: INT, Flags: PUBLIC
135 define('UNIT_FIELD_MAXPOWER5', OBJECT_END + 0x001E); // Size: 1, Type: INT, Flags: PUBLIC
136 define('UNIT_FIELD_MAXPOWER6', OBJECT_END + 0x001F); // Size: 1, Type: INT, Flags: PUBLIC
137 define('UNIT_FIELD_MAXPOWER7', OBJECT_END + 0x0020); // Size: 1, Type: INT, Flags: PUBLIC
138 define('UNIT_FIELD_POWER_REGEN_FLAT_MODIFIER', OBJECT_END + 0x0021); // Size: 7, Type: FLOAT, Flags: PRIVATE, OWNER
139 define('UNIT_FIELD_POWER_REGEN_INTERRUPTED_FLAT_MODIFIER', OBJECT_END + 0x0028); // Size: 7, Type: FLOAT, Flags: PRIVATE, OWNER
140 define('UNIT_FIELD_LEVEL', OBJECT_END + 0x002F); // Size: 1, Type: INT, Flags: PUBLIC
141 define('UNIT_FIELD_FACTIONTEMPLATE', OBJECT_END + 0x0030); // Size: 1, Type: INT, Flags: PUBLIC
142 define('UNIT_VIRTUAL_ITEM_SLOT_ID', OBJECT_END + 0x0031); // Size: 3, Type: INT, Flags: PUBLIC
143 define('UNIT_FIELD_FLAGS', OBJECT_END + 0x0034); // Size: 1, Type: INT, Flags: PUBLIC
144 define('UNIT_FIELD_FLAGS_2', OBJECT_END + 0x0035); // Size: 1, Type: INT, Flags: PUBLIC
145 define('UNIT_FIELD_AURASTATE', OBJECT_END + 0x0036); // Size: 1, Type: INT, Flags: PUBLIC
146 define('UNIT_FIELD_BASEATTACKTIME', OBJECT_END + 0x0037); // Size: 2, Type: INT, Flags: PUBLIC
147 define('UNIT_FIELD_RANGEDATTACKTIME', OBJECT_END + 0x0039); // Size: 1, Type: INT, Flags: PRIVATE
148 define('UNIT_FIELD_BOUNDINGRADIUS', OBJECT_END + 0x003A); // Size: 1, Type: FLOAT, Flags: PUBLIC
149 define('UNIT_FIELD_COMBATREACH', OBJECT_END + 0x003B); // Size: 1, Type: FLOAT, Flags: PUBLIC
150 define('UNIT_FIELD_DISPLAYID', OBJECT_END + 0x003C); // Size: 1, Type: INT, Flags: PUBLIC
151 define('UNIT_FIELD_NATIVEDISPLAYID', OBJECT_END + 0x003D); // Size: 1, Type: INT, Flags: PUBLIC
152 define('UNIT_FIELD_MOUNTDISPLAYID', OBJECT_END + 0x003E); // Size: 1, Type: INT, Flags: PUBLIC
153 define('UNIT_FIELD_MINDAMAGE', OBJECT_END + 0x003F); // Size: 1, Type: FLOAT, Flags: PRIVATE, OWNER, PARTY_LEADER
154 define('UNIT_FIELD_MAXDAMAGE', OBJECT_END + 0x0040); // Size: 1, Type: FLOAT, Flags: PRIVATE, OWNER, PARTY_LEADER
155 define('UNIT_FIELD_MINOFFHANDDAMAGE', OBJECT_END + 0x0041); // Size: 1, Type: FLOAT, Flags: PRIVATE, OWNER, PARTY_LEADER
156 define('UNIT_FIELD_MAXOFFHANDDAMAGE', OBJECT_END + 0x0042); // Size: 1, Type: FLOAT, Flags: PRIVATE, OWNER, PARTY_LEADER
157 define('UNIT_FIELD_BYTES_1', OBJECT_END + 0x0043); // Size: 1, Type: BYTES, Flags: PUBLIC
158 define('UNIT_FIELD_PETNUMBER', OBJECT_END + 0x0044); // Size: 1, Type: INT, Flags: PUBLIC
159 define('UNIT_FIELD_PET_NAME_TIMESTAMP', OBJECT_END + 0x0045); // Size: 1, Type: INT, Flags: PUBLIC
160 define('UNIT_FIELD_PETEXPERIENCE', OBJECT_END + 0x0046); // Size: 1, Type: INT, Flags: OWNER
161 define('UNIT_FIELD_PETNEXTLEVELEXP', OBJECT_END + 0x0047); // Size: 1, Type: INT, Flags: OWNER
162 define('UNIT_DYNAMIC_FLAGS', OBJECT_END + 0x0048); // Size: 1, Type: INT, Flags: DYNAMIC
163 define('UNIT_CHANNEL_SPELL', OBJECT_END + 0x0049); // Size: 1, Type: INT, Flags: PUBLIC
164 define('UNIT_MOD_CAST_SPEED', OBJECT_END + 0x004A); // Size: 1, Type: FLOAT, Flags: PUBLIC
165 define('UNIT_CREATED_BY_SPELL', OBJECT_END + 0x004B); // Size: 1, Type: INT, Flags: PUBLIC
166 define('UNIT_NPC_FLAGS', OBJECT_END + 0x004C); // Size: 1, Type: INT, Flags: DYNAMIC
167 define('UNIT_NPC_EMOTESTATE', OBJECT_END + 0x004D); // Size: 1, Type: INT, Flags: PUBLIC
168 define('UNIT_FIELD_STAT0', OBJECT_END + 0x004E); // Size: 1, Type: INT, Flags: PRIVATE, OWNER
169 define('UNIT_FIELD_STAT1', OBJECT_END + 0x004F); // Size: 1, Type: INT, Flags: PRIVATE, OWNER
170 define('UNIT_FIELD_STAT2', OBJECT_END + 0x0050); // Size: 1, Type: INT, Flags: PRIVATE, OWNER
171 define('UNIT_FIELD_STAT3', OBJECT_END + 0x0051); // Size: 1, Type: INT, Flags: PRIVATE, OWNER
172 define('UNIT_FIELD_STAT4', OBJECT_END + 0x0052); // Size: 1, Type: INT, Flags: PRIVATE, OWNER
173 define('UNIT_FIELD_POSSTAT0', OBJECT_END + 0x0053); // Size: 1, Type: INT, Flags: PRIVATE, OWNER
174 define('UNIT_FIELD_POSSTAT1', OBJECT_END + 0x0054); // Size: 1, Type: INT, Flags: PRIVATE, OWNER
175 define('UNIT_FIELD_POSSTAT2', OBJECT_END + 0x0055); // Size: 1, Type: INT, Flags: PRIVATE, OWNER
176 define('UNIT_FIELD_POSSTAT3', OBJECT_END + 0x0056); // Size: 1, Type: INT, Flags: PRIVATE, OWNER
177 define('UNIT_FIELD_POSSTAT4', OBJECT_END + 0x0057); // Size: 1, Type: INT, Flags: PRIVATE, OWNER
178 define('UNIT_FIELD_NEGSTAT0', OBJECT_END + 0x0058); // Size: 1, Type: INT, Flags: PRIVATE, OWNER
179 define('UNIT_FIELD_NEGSTAT1', OBJECT_END + 0x0059); // Size: 1, Type: INT, Flags: PRIVATE, OWNER
180 define('UNIT_FIELD_NEGSTAT2', OBJECT_END + 0x005A); // Size: 1, Type: INT, Flags: PRIVATE, OWNER
181 define('UNIT_FIELD_NEGSTAT3', OBJECT_END + 0x005B); // Size: 1, Type: INT, Flags: PRIVATE, OWNER
182 define('UNIT_FIELD_NEGSTAT4', OBJECT_END + 0x005C); // Size: 1, Type: INT, Flags: PRIVATE, OWNER
183 define('UNIT_FIELD_RESISTANCES', OBJECT_END + 0x005D); // Size: 7, Type: INT, Flags: PRIVATE, OWNER, PARTY_LEADER
184 define('UNIT_FIELD_RESISTANCEBUFFMODSPOSITIVE', OBJECT_END + 0x0064); // Size: 7, Type: INT, Flags: PRIVATE, OWNER
185 define('UNIT_FIELD_RESISTANCEBUFFMODSNEGATIVE', OBJECT_END + 0x006B); // Size: 7, Type: INT, Flags: PRIVATE, OWNER
186 define('UNIT_FIELD_BASE_MANA', OBJECT_END + 0x0072); // Size: 1, Type: INT, Flags: PUBLIC
187 define('UNIT_FIELD_BASE_HEALTH', OBJECT_END + 0x0073); // Size: 1, Type: INT, Flags: PRIVATE, OWNER
188 define('UNIT_FIELD_BYTES_2', OBJECT_END + 0x0074); // Size: 1, Type: BYTES, Flags: PUBLIC
189 define('UNIT_FIELD_ATTACK_POWER', OBJECT_END + 0x0075); // Size: 1, Type: INT, Flags: PRIVATE, OWNER
190 define('UNIT_FIELD_ATTACK_POWER_MODS', OBJECT_END + 0x0076); // Size: 1, Type: TWO_SHORT, Flags: PRIVATE, OWNER
191 define('UNIT_FIELD_ATTACK_POWER_MULTIPLIER', OBJECT_END + 0x0077); // Size: 1, Type: FLOAT, Flags: PRIVATE, OWNER
192 define('UNIT_FIELD_RANGED_ATTACK_POWER', OBJECT_END + 0x0078); // Size: 1, Type: INT, Flags: PRIVATE, OWNER
193 define('UNIT_FIELD_RANGED_ATTACK_POWER_MODS', OBJECT_END + 0x0079); // Size: 1, Type: TWO_SHORT, Flags: PRIVATE, OWNER
194 define('UNIT_FIELD_RANGED_ATTACK_POWER_MULTIPLIER', OBJECT_END + 0x007A); // Size: 1, Type: FLOAT, Flags: PRIVATE, OWNER
195 define('UNIT_FIELD_MINRANGEDDAMAGE', OBJECT_END + 0x007B); // Size: 1, Type: FLOAT, Flags: PRIVATE, OWNER
196 define('UNIT_FIELD_MAXRANGEDDAMAGE', OBJECT_END + 0x007C); // Size: 1, Type: FLOAT, Flags: PRIVATE, OWNER
197 define('UNIT_FIELD_POWER_COST_MODIFIER', OBJECT_END + 0x007D); // Size: 7, Type: INT, Flags: PRIVATE, OWNER
198 define('UNIT_FIELD_POWER_COST_MULTIPLIER', OBJECT_END + 0x0084); // Size: 7, Type: FLOAT, Flags: PRIVATE, OWNER
199 define('UNIT_FIELD_MAXHEALTHMODIFIER', OBJECT_END + 0x008B); // Size: 1, Type: FLOAT, Flags: PRIVATE, OWNER
200 define('UNIT_FIELD_HOVERHEIGHT', OBJECT_END + 0x008C); // Size: 1, Type: FLOAT, Flags: PUBLIC
201 define('UNIT_FIELD_PADDING', OBJECT_END + 0x008D); // Size: 1, Type: INT, Flags: NONE
202 define('UNIT_END', OBJECT_END + 0x008E);
204 define('PLAYER_DUEL_ARBITER', UNIT_END + 0x0000);
205 define('PLAYER_FLAGS', UNIT_END + 0x0002);
206 define('PLAYER_GUILDID', UNIT_END + 0x0003);
207 define('PLAYER_GUILDRANK', UNIT_END + 0x0004);
208 define('PLAYER_BYTES', UNIT_END + 0x0005);
209 define('PLAYER_BYTES_2', UNIT_END + 0x0006);
210 define('PLAYER_BYTES_3', UNIT_END + 0x0007);
211 define('PLAYER_DUEL_TEAM', UNIT_END + 0x0008);
212 define('PLAYER_GUILD_TIMESTAMP', UNIT_END + 0x0009);
213 define('PLAYER_QUEST_LOG_1_1', UNIT_END + 0x000A);
214 define('PLAYER_QUEST_LOG_1_2', UNIT_END + 0x000B);
215 define('PLAYER_QUEST_LOG_1_3', UNIT_END + 0x000C);
216 define('PLAYER_QUEST_LOG_1_5', UNIT_END + 0x000E);
217 define('PLAYER_QUEST_LOG_2_1', UNIT_END + 0x000F);
218 define('PLAYER_QUEST_LOG_2_2', UNIT_END + 0x0010);
219 define('PLAYER_QUEST_LOG_2_3', UNIT_END + 0x0011);
220 define('PLAYER_QUEST_LOG_2_5', UNIT_END + 0x0013);
221 define('PLAYER_QUEST_LOG_3_1', UNIT_END + 0x0014);
222 define('PLAYER_QUEST_LOG_3_2', UNIT_END + 0x0015);
223 define('PLAYER_QUEST_LOG_3_3', UNIT_END + 0x0016);
224 define('PLAYER_QUEST_LOG_3_5', UNIT_END + 0x0018);
225 define('PLAYER_QUEST_LOG_4_1', UNIT_END + 0x0019);
226 define('PLAYER_QUEST_LOG_4_2', UNIT_END + 0x001A);
227 define('PLAYER_QUEST_LOG_4_3', UNIT_END + 0x001B);
228 define('PLAYER_QUEST_LOG_4_5', UNIT_END + 0x001D);
229 define('PLAYER_QUEST_LOG_5_1', UNIT_END + 0x001E);
230 define('PLAYER_QUEST_LOG_5_2', UNIT_END + 0x001F);
231 define('PLAYER_QUEST_LOG_5_3', UNIT_END + 0x0020);
232 define('PLAYER_QUEST_LOG_5_5', UNIT_END + 0x0022);
233 define('PLAYER_QUEST_LOG_6_1', UNIT_END + 0x0023);
234 define('PLAYER_QUEST_LOG_6_2', UNIT_END + 0x0024);
235 define('PLAYER_QUEST_LOG_6_3', UNIT_END + 0x0025);
236 define('PLAYER_QUEST_LOG_6_5', UNIT_END + 0x0027);
237 define('PLAYER_QUEST_LOG_7_1', UNIT_END + 0x0028);
238 define('PLAYER_QUEST_LOG_7_2', UNIT_END + 0x0029);
239 define('PLAYER_QUEST_LOG_7_3', UNIT_END + 0x002A);
240 define('PLAYER_QUEST_LOG_7_5', UNIT_END + 0x002C);
241 define('PLAYER_QUEST_LOG_8_1', UNIT_END + 0x002D);
242 define('PLAYER_QUEST_LOG_8_2', UNIT_END + 0x002E);
243 define('PLAYER_QUEST_LOG_8_3', UNIT_END + 0x002F);
244 define('PLAYER_QUEST_LOG_8_5', UNIT_END + 0x0031);
245 define('PLAYER_QUEST_LOG_9_1', UNIT_END + 0x0032);
246 define('PLAYER_QUEST_LOG_9_2', UNIT_END + 0x0033);
247 define('PLAYER_QUEST_LOG_9_3', UNIT_END + 0x0034);
248 define('PLAYER_QUEST_LOG_9_5', UNIT_END + 0x0036);
249 define('PLAYER_QUEST_LOG_10_1', UNIT_END + 0x0037);
250 define('PLAYER_QUEST_LOG_10_2', UNIT_END + 0x0038);
251 define('PLAYER_QUEST_LOG_10_3', UNIT_END + 0x0039);
252 define('PLAYER_QUEST_LOG_10_5', UNIT_END + 0x003B);
253 define('PLAYER_QUEST_LOG_11_1', UNIT_END + 0x003C);
254 define('PLAYER_QUEST_LOG_11_2', UNIT_END + 0x003D);
255 define('PLAYER_QUEST_LOG_11_3', UNIT_END + 0x003E);
256 define('PLAYER_QUEST_LOG_11_5', UNIT_END + 0x0040);
257 define('PLAYER_QUEST_LOG_12_1', UNIT_END + 0x0041);
258 define('PLAYER_QUEST_LOG_12_2', UNIT_END + 0x0042);
259 define('PLAYER_QUEST_LOG_12_3', UNIT_END + 0x0043);
260 define('PLAYER_QUEST_LOG_12_5', UNIT_END + 0x0045);
261 define('PLAYER_QUEST_LOG_13_1', UNIT_END + 0x0046);
262 define('PLAYER_QUEST_LOG_13_2', UNIT_END + 0x0047);
263 define('PLAYER_QUEST_LOG_13_3', UNIT_END + 0x0048);
264 define('PLAYER_QUEST_LOG_13_5', UNIT_END + 0x004A);
265 define('PLAYER_QUEST_LOG_14_1', UNIT_END + 0x004B);
266 define('PLAYER_QUEST_LOG_14_2', UNIT_END + 0x004C);
267 define('PLAYER_QUEST_LOG_14_3', UNIT_END + 0x004D);
268 define('PLAYER_QUEST_LOG_14_5', UNIT_END + 0x004F);
269 define('PLAYER_QUEST_LOG_15_1', UNIT_END + 0x0050);
270 define('PLAYER_QUEST_LOG_15_2', UNIT_END + 0x0051);
271 define('PLAYER_QUEST_LOG_15_3', UNIT_END + 0x0052);
272 define('PLAYER_QUEST_LOG_15_5', UNIT_END + 0x0054);
273 define('PLAYER_QUEST_LOG_16_1', UNIT_END + 0x0055);
274 define('PLAYER_QUEST_LOG_16_2', UNIT_END + 0x0056);
275 define('PLAYER_QUEST_LOG_16_3', UNIT_END + 0x0057);
276 define('PLAYER_QUEST_LOG_16_5', UNIT_END + 0x0059);
277 define('PLAYER_QUEST_LOG_17_1', UNIT_END + 0x005A);
278 define('PLAYER_QUEST_LOG_17_2', UNIT_END + 0x005B);
279 define('PLAYER_QUEST_LOG_17_3', UNIT_END + 0x005C);
280 define('PLAYER_QUEST_LOG_17_5', UNIT_END + 0x005E);
281 define('PLAYER_QUEST_LOG_18_1', UNIT_END + 0x005F);
282 define('PLAYER_QUEST_LOG_18_2', UNIT_END + 0x0060);
283 define('PLAYER_QUEST_LOG_18_3', UNIT_END + 0x0061);
284 define('PLAYER_QUEST_LOG_18_5', UNIT_END + 0x0063);
285 define('PLAYER_QUEST_LOG_19_1', UNIT_END + 0x0064);
286 define('PLAYER_QUEST_LOG_19_2', UNIT_END + 0x0065);
287 define('PLAYER_QUEST_LOG_19_3', UNIT_END + 0x0066);
288 define('PLAYER_QUEST_LOG_19_5', UNIT_END + 0x0068);
289 define('PLAYER_QUEST_LOG_20_1', UNIT_END + 0x0069);
290 define('PLAYER_QUEST_LOG_20_2', UNIT_END + 0x006A);
291 define('PLAYER_QUEST_LOG_20_3', UNIT_END + 0x006B);
292 define('PLAYER_QUEST_LOG_20_5', UNIT_END + 0x006D);
293 define('PLAYER_QUEST_LOG_21_1', UNIT_END + 0x006E);
294 define('PLAYER_QUEST_LOG_21_2', UNIT_END + 0x006F);
295 define('PLAYER_QUEST_LOG_21_3', UNIT_END + 0x0070);
296 define('PLAYER_QUEST_LOG_21_5', UNIT_END + 0x0072);
297 define('PLAYER_QUEST_LOG_22_1', UNIT_END + 0x0073);
298 define('PLAYER_QUEST_LOG_22_2', UNIT_END + 0x0074);
299 define('PLAYER_QUEST_LOG_22_3', UNIT_END + 0x0075);
300 define('PLAYER_QUEST_LOG_22_5', UNIT_END + 0x0077);
301 define('PLAYER_QUEST_LOG_23_1', UNIT_END + 0x0078);
302 define('PLAYER_QUEST_LOG_23_2', UNIT_END + 0x0079);
303 define('PLAYER_QUEST_LOG_23_3', UNIT_END + 0x007A);
304 define('PLAYER_QUEST_LOG_23_5', UNIT_END + 0x007C);
305 define('PLAYER_QUEST_LOG_24_1', UNIT_END + 0x007D);
306 define('PLAYER_QUEST_LOG_24_2', UNIT_END + 0x007E);
307 define('PLAYER_QUEST_LOG_24_3', UNIT_END + 0x007F);
308 define('PLAYER_QUEST_LOG_24_5', UNIT_END + 0x0081);
309 define('PLAYER_QUEST_LOG_25_1', UNIT_END + 0x0082);
310 define('PLAYER_QUEST_LOG_25_2', UNIT_END + 0x0083);
311 define('PLAYER_QUEST_LOG_25_3', UNIT_END + 0x0084);
312 define('PLAYER_QUEST_LOG_25_5', UNIT_END + 0x0086);
313 define('PLAYER_VISIBLE_ITEM_1_ENTRYID', 0x0001);
314 define('PLAYER_VISIBLE_ITEM_1_ENCHANTMENT', UNIT_END + 0x0088);
315 define('PLAYER_VISIBLE_ITEM_2_ENTRYID', UNIT_END + 0x0089);
316 define('PLAYER_VISIBLE_ITEM_2_ENCHANTMENT', UNIT_END + 0x008A);
317 define('PLAYER_VISIBLE_ITEM_3_ENTRYID', UNIT_END + 0x008B);
318 define('PLAYER_VISIBLE_ITEM_3_ENCHANTMENT', UNIT_END + 0x008C);
319 define('PLAYER_VISIBLE_ITEM_4_ENTRYID', UNIT_END + 0x008D);
320 define('PLAYER_VISIBLE_ITEM_4_ENCHANTMENT', UNIT_END + 0x008E);
321 define('PLAYER_VISIBLE_ITEM_5_ENTRYID', UNIT_END + 0x008F);
322 define('PLAYER_VISIBLE_ITEM_5_ENCHANTMENT', UNIT_END + 0x0090);
323 define('PLAYER_VISIBLE_ITEM_6_ENTRYID', UNIT_END + 0x0091);
324 define('PLAYER_VISIBLE_ITEM_6_ENCHANTMENT', UNIT_END + 0x0092);
325 define('PLAYER_VISIBLE_ITEM_7_ENTRYID', UNIT_END + 0x0093);
326 define('PLAYER_VISIBLE_ITEM_7_ENCHANTMENT', UNIT_END + 0x0094);
327 define('PLAYER_VISIBLE_ITEM_8_ENTRYID', UNIT_END + 0x0095);
328 define('PLAYER_VISIBLE_ITEM_8_ENCHANTMENT', UNIT_END + 0x0096);
329 define('PLAYER_VISIBLE_ITEM_9_ENTRYID', UNIT_END + 0x0097);
330 define('PLAYER_VISIBLE_ITEM_9_ENCHANTMENT', UNIT_END + 0x0098);
331 define('PLAYER_VISIBLE_ITEM_10_ENTRYID', UNIT_END + 0x0099);
332 define('PLAYER_VISIBLE_ITEM_10_ENCHANTMENT', UNIT_END + 0x009A);
333 define('PLAYER_VISIBLE_ITEM_11_ENTRYID', UNIT_END + 0x009B);
334 define('PLAYER_VISIBLE_ITEM_11_ENCHANTMENT', UNIT_END + 0x009C);
335 define('PLAYER_VISIBLE_ITEM_12_ENTRYID', UNIT_END + 0x009D);
336 define('PLAYER_VISIBLE_ITEM_12_ENCHANTMENT', UNIT_END + 0x009E);
337 define('PLAYER_VISIBLE_ITEM_13_ENTRYID', UNIT_END + 0x009F);
338 define('PLAYER_VISIBLE_ITEM_13_ENCHANTMENT', UNIT_END + 0x00A0);
339 define('PLAYER_VISIBLE_ITEM_14_ENTRYID', UNIT_END + 0x00A1);
340 define('PLAYER_VISIBLE_ITEM_14_ENCHANTMENT', UNIT_END + 0x00A2);
341 define('PLAYER_VISIBLE_ITEM_15_ENTRYID', UNIT_END + 0x00A3);
342 define('PLAYER_VISIBLE_ITEM_15_ENCHANTMENT', UNIT_END + 0x00A4);
343 define('PLAYER_VISIBLE_ITEM_16_ENTRYID', UNIT_END + 0x00A5);
344 define('PLAYER_VISIBLE_ITEM_16_ENCHANTMENT', UNIT_END + 0x00A6);
345 define('PLAYER_VISIBLE_ITEM_17_ENTRYID', UNIT_END + 0x00A7);
346 define('PLAYER_VISIBLE_ITEM_17_ENCHANTMENT', UNIT_END + 0x00A8);
347 define('PLAYER_VISIBLE_ITEM_18_ENTRYID', UNIT_END + 0x00A9);
348 define('PLAYER_VISIBLE_ITEM_18_ENCHANTMENT', UNIT_END + 0x00AA);
349 define('PLAYER_VISIBLE_ITEM_19_ENTRYID', UNIT_END + 0x00AB);
350 define('PLAYER_VISIBLE_ITEM_19_ENCHANTMENT', UNIT_END + 0x00AC);
351 define('PLAYER_CHOSEN_TITLE', UNIT_END + 0x00AD);
352 define('PLAYER_FAKE_INEBRIATION', UNIT_END + 0x00AE);
353 define('PLAYER_FIELD_PAD_0', UNIT_END + 0x00AF);
354 define('PLAYER_FIELD_INV_SLOT_HEAD', 0);
355 define('PLAYER_FIELD_PACK_SLOT_1', UNIT_END + 0x00DE);
356 define('PLAYER_FIELD_BANK_SLOT_1', UNIT_END + 0x00FE);
357 define('PLAYER_FIELD_BANKBAG_SLOT_1', UNIT_END + 0x0136);
358 define('PLAYER_FIELD_VENDORBUYBACK_SLOT_1', UNIT_END + 0x0144);
359 define('PLAYER_FIELD_KEYRING_SLOT_1', UNIT_END + 0x015C);
360 define('PLAYER_FIELD_CURRENCYTOKEN_SLOT_1', UNIT_END + 0x019C);
361 define('PLAYER_FARSIGHT', UNIT_END + 0x01DC);
362 define('PLAYER__FIELD_KNOWN_TITLES', UNIT_END + 0x01DE);
363 define('PLAYER__FIELD_KNOWN_TITLES1', UNIT_END + 0x01E0);
364 define('PLAYER__FIELD_KNOWN_TITLES2', UNIT_END + 0x01E2);
365 define('PLAYER_FIELD_KNOWN_CURRENCIES', UNIT_END + 0x01E4);
366 define('PLAYER_XP', UNIT_END + 0x01E6);
367 define('PLAYER_NEXT_LEVEL_XP', UNIT_END + 0x01E7);
368 define('PLAYER_SKILL_INFO_1_1', UNIT_END + 0x01E8);
369 define('PLAYER_CHARACTER_POINTS1', UNIT_END + 0x0368);
370 define('PLAYER_CHARACTER_POINTS2', UNIT_END + 0x0369);
371 define('PLAYER_TRACK_CREATURES', UNIT_END + 0x036A);
372 define('PLAYER_TRACK_RESOURCES', UNIT_END + 0x036B);
373 define('PLAYER_BLOCK_PERCENTAGE', UNIT_END + 0x036C);
374 define('PLAYER_DODGE_PERCENTAGE', UNIT_END + 0x036D);
375 define('PLAYER_PARRY_PERCENTAGE', UNIT_END + 0x036E);
376 define('PLAYER_EXPERTISE', UNIT_END + 0x036F);
377 define('PLAYER_OFFHAND_EXPERTISE', UNIT_END + 0x0370);
378 define('PLAYER_CRIT_PERCENTAGE', UNIT_END + 0x0371);
379 define('PLAYER_RANGED_CRIT_PERCENTAGE', UNIT_END + 0x0372);
380 define('PLAYER_OFFHAND_CRIT_PERCENTAGE', UNIT_END + 0x0373);
381 define('PLAYER_SPELL_CRIT_PERCENTAGE', UNIT_END + 0x0374);
382 define('PLAYER_SHIELD_BLOCK', UNIT_END + 0x037B);
383 define('PLAYER_SHIELD_BLOCK_CRIT_PERCENTAGE', UNIT_END + 0x037C);
384 define('PLAYER_EXPLORED_ZONES_1', UNIT_END + 0x037D);
385 define('PLAYER_REST_STATE_EXPERIENCE', UNIT_END + 0x03FD);
386 define('PLAYER_FIELD_COINAGE', UNIT_END + 0x03FE);
387 define('PLAYER_FIELD_MOD_DAMAGE_DONE_POS', UNIT_END + 0x03FF);
388 define('PLAYER_FIELD_MOD_DAMAGE_DONE_NEG', UNIT_END + 0x0406);
389 define('PLAYER_FIELD_MOD_DAMAGE_DONE_PCT', UNIT_END + 0x040D);
390 define('PLAYER_FIELD_MOD_HEALING_DONE_POS', UNIT_END + 0x0414);
391 define('PLAYER_FIELD_MOD_HEALING_PCT', UNIT_END + 0x0415);
392 define('PLAYER_FIELD_MOD_HEALING_DONE_PCT', UNIT_END + 0x0416);
393 define('PLAYER_FIELD_MOD_TARGET_RESISTANCE', UNIT_END + 0x0417);
394 define('PLAYER_FIELD_MOD_TARGET_PHYSICAL_RESISTANCE', UNIT_END + 0x0418);
395 define('PLAYER_FIELD_BYTES', UNIT_END + 0x0419);
396 define('PLAYER_AMMO_ID', UNIT_END + 0x041A);
397 define('PLAYER_SELF_RES_SPELL', UNIT_END + 0x041B);
398 define('PLAYER_FIELD_PVP_MEDALS', UNIT_END + 0x041C);
399 define('PLAYER_FIELD_BUYBACK_PRICE_1', UNIT_END + 0x041D);
400 define('PLAYER_FIELD_BUYBACK_TIMESTAMP_1', UNIT_END + 0x0429);
401 define('PLAYER_FIELD_KILLS', UNIT_END + 0x0435);
402 define('PLAYER_FIELD_TODAY_CONTRIBUTION', UNIT_END + 0x0436);
403 define('PLAYER_FIELD_YESTERDAY_CONTRIBUTION', UNIT_END + 0x0437);
404 define('PLAYER_FIELD_LIFETIME_HONORBALE_KILLS', UNIT_END + 0x0438);
405 define('PLAYER_FIELD_BYTES2', UNIT_END + 0x0439);
406 define('PLAYER_FIELD_WATCHED_FACTION_INDEX', UNIT_END + 0x043A);
407 define('PLAYER_FIELD_COMBAT_RATING', UNIT_END + 0x043B);
408 define('PLAYER_FIELD_ARENA_TEAM_INFO_1_1', UNIT_END + 0x0454);
409 define('PLAYER_FIELD_HONOR_CURRENCY', UNIT_END + 0x0469);
410 define('PLAYER_FIELD_ARENA_CURRENCY', UNIT_END + 0x046A);
411 define('PLAYER_FIELD_MAX_LEVEL', UNIT_END + 0x046B);
412 define('PLAYER_FIELD_DAILY_QUESTS_1', UNIT_END + 0x046C);
413 define('PLAYER_RUNE_REGEN_1', UNIT_END + 0x0485);
414 define('PLAYER_NO_REAGENT_COST_1', UNIT_END + 0x0489);
415 define('PLAYER_FIELD_GLYPH_SLOTS_1', UNIT_END + 0x048C);
416 define('PLAYER_FIELD_GLYPHS_1', UNIT_END + 0x0492);
417 define('PLAYER_GLYPHS_ENABLED', UNIT_END + 0x0498);
418 define('PLAYER_FIELD_PADDING', UNIT_END + 0x0499);
419 define('PLAYER_END', UNIT_END + 0x049A);
421 //=====================================
422 define('PLAYER_HOLY_SPELL_CRIT_PERCENTAGE', PLAYER_SPELL_CRIT_PERCENTAGE+1); //
423 define('PLAYER_FIRE_SPELL_CRIT_PERCENTAGE', PLAYER_SPELL_CRIT_PERCENTAGE+2); //
424 define('PLAYER_NATURE_SPELL_CRIT_PERCENTAGE', PLAYER_SPELL_CRIT_PERCENTAGE+3); //
425 define('PLAYER_FROST_SPELL_CRIT_PERCENTAGE', PLAYER_SPELL_CRIT_PERCENTAGE+4); //
426 define('PLAYER_SHADOW_SPELL_CRIT_PERCENTAGE', PLAYER_SPELL_CRIT_PERCENTAGE+5); //
427 define('PLAYER_ARCANE_SPELL_CRIT_PERCENTAGE', PLAYER_SPELL_CRIT_PERCENTAGE+6); //
429 define('PLAYER_FIELD_ARENA_TEAM_ID_2v2', PLAYER_FIELD_ARENA_TEAM_INFO_1_1); //
430 define('PLAYER_FIELD_ARENA_TEAM_ID_3v3', PLAYER_FIELD_ARENA_TEAM_INFO_1_1+6); //
431 define('PLAYER_FIELD_ARENA_TEAM_ID_5v5', PLAYER_FIELD_ARENA_TEAM_INFO_1_1+12); //
433 define('PLAYER_FIELD_ALL_WEAPONS_SKILL_RATING', PLAYER_FIELD_COMBAT_RATING); // CR_WEAPON_SKILL
434 define('PLAYER_FIELD_DEFENCE_RATING', PLAYER_FIELD_COMBAT_RATING+1); // CR_DEFENSE_SKILL
435 define('PLAYER_FIELD_DODGE_RATING', PLAYER_FIELD_COMBAT_RATING+2); // CR_DODGE
436 define('PLAYER_FIELD_PARRY_RATING', PLAYER_FIELD_COMBAT_RATING+3); // CR_PARRY
437 define('PLAYER_FIELD_BLOCK_RATING', PLAYER_FIELD_COMBAT_RATING+4); // CR_BLOCK
438 define('PLAYER_FIELD_MELEE_HIT_RATING', PLAYER_FIELD_COMBAT_RATING+5); // CR_HIT_MELEE
439 define('PLAYER_FIELD_RANGED_HIT_RATING', PLAYER_FIELD_COMBAT_RATING+6); // CR_HIT_RANGED
440 define('PLAYER_FIELD_SPELL_HIT_RATING', PLAYER_FIELD_COMBAT_RATING+7); // CR_HIT_SPELL
441 define('PLAYER_FIELD_MELEE_CRIT_RATING', PLAYER_FIELD_COMBAT_RATING+8); // CR_CRIT_MELEE
442 define('PLAYER_FIELD_RANGED_CRIT_RATING', PLAYER_FIELD_COMBAT_RATING+9); // CR_CRIT_RANGED
443 define('PLAYER_FIELD_SPELL_CRIT_RATING', PLAYER_FIELD_COMBAT_RATING+10); // CR_CRIT_SPELL
444 define('PLAYER_FIELD_TAKEN_MELEE_HIT_RATING', PLAYER_FIELD_COMBAT_RATING+11); // CR_HIT_TAKEN_MELEE
445 define('PLAYER_FIELD_TAKEN_RANGED_HIT_RATING', PLAYER_FIELD_COMBAT_RATING+12); // CR_HIT_TAKEN_RANGED
446 define('PLAYER_FIELD_TAKEN_SPELL_HIT_RATING', PLAYER_FIELD_COMBAT_RATING+13); // CR_HIT_TAKEN_SPELL
447 define('PLAYER_FIELD_CRIT_TAKEN_MELEE_RATING', PLAYER_FIELD_COMBAT_RATING+14); // CR_CRIT_TAKEN_MELEE
448 define('PLAYER_FIELD_CRIT_TAKEN_RANGED_RATING', PLAYER_FIELD_COMBAT_RATING+15); // CR_CRIT_TAKEN_RANGED
449 define('PLAYER_FIELD_CRIT_TAKEN_SPELL_RATING', PLAYER_FIELD_COMBAT_RATING+16); // CR_CRIT_TAKEN_SPELL
450 define('PLAYER_FIELD_MELEE_HASTE_RATING', PLAYER_FIELD_COMBAT_RATING+17); // CR_HASTE_MELEE
451 define('PLAYER_FIELD_RANGED_HASTE_RATING', PLAYER_FIELD_COMBAT_RATING+18); // CR_HASTE_RANGED
452 define('PLAYER_FIELD_SPELL_HASTE_RATING', PLAYER_FIELD_COMBAT_RATING+19); // CR_HASTE_SPELL
453 define('PLAYER_FIELD_MELEE_WEAPON_SKILL_RATING', PLAYER_FIELD_COMBAT_RATING+20); // CR_WEAPON_SKILL_MAINHAND
454 define('PLAYER_FIELD_OFFHAND_WEAPON_SKILL_RATING', PLAYER_FIELD_COMBAT_RATING+21); // CR_WEAPON_SKILL_OFFHAND
455 define('PLAYER_FIELD_RANGED_WEAPON_SKILL_RATING', PLAYER_FIELD_COMBAT_RATING+22); // CR_WEAPON_SKILL_RANGED
456 define('PLAYER_FIELD_EXPERTISE_RATING', PLAYER_FIELD_COMBAT_RATING+23); // CR_EXPERTISE
458 //*************************************************************
460 define('PLAYER_VISIBLE_ITEM_HEAD',PLAYER_VISIBLE_ITEM_1_ENTRYID); // 12 1 1
461 define('PLAYER_VISIBLE_ITEM_NECK',PLAYER_VISIBLE_ITEM_2_ENTRYID); // 12 1 1
462 define('PLAYER_VISIBLE_ITEM_SHOULDER',PLAYER_VISIBLE_ITEM_3_ENTRYID); // 12 1 1
463 define('PLAYER_VISIBLE_ITEM_SHIRT',PLAYER_VISIBLE_ITEM_4_ENTRYID); // 12 1 1
464 define('PLAYER_VISIBLE_ITEM_CHEST',PLAYER_VISIBLE_ITEM_5_ENTRYID); // 12 1 1
465 define('PLAYER_VISIBLE_ITEM_BELT',PLAYER_VISIBLE_ITEM_6_ENTRYID); // 12 1 1
466 define('PLAYER_VISIBLE_ITEM_LEGS',PLAYER_VISIBLE_ITEM_7_ENTRYID); // 12 1 1
467 define('PLAYER_VISIBLE_ITEM_FEET',PLAYER_VISIBLE_ITEM_8_ENTRYID); // 12 1 1
468 define('PLAYER_VISIBLE_ITEM_WRIST',PLAYER_VISIBLE_ITEM_9_ENTRYID); // 12 1 1
469 define('PLAYER_VISIBLE_ITEM_GLOVES',PLAYER_VISIBLE_ITEM_10_ENTRYID); // 12 1 1
470 define('PLAYER_VISIBLE_ITEM_FINGER1',PLAYER_VISIBLE_ITEM_11_ENTRYID); // 12 1 1
471 define('PLAYER_VISIBLE_ITEM_FINGER2',PLAYER_VISIBLE_ITEM_12_ENTRYID); // 12 1 1
472 define('PLAYER_VISIBLE_ITEM_TRINKET1',PLAYER_VISIBLE_ITEM_13_ENTRYID); // 12 1 1
473 define('PLAYER_VISIBLE_ITEM_TRINKET2',PLAYER_VISIBLE_ITEM_14_ENTRYID); // 12 1 1
474 define('PLAYER_VISIBLE_ITEM_BACK',PLAYER_VISIBLE_ITEM_15_ENTRYID); // 12 1 1
475 define('PLAYER_VISIBLE_ITEM_MAIN_HAND',PLAYER_VISIBLE_ITEM_16_ENTRYID); // 12 1 1
476 define('PLAYER_VISIBLE_ITEM_OFF_HAND',PLAYER_VISIBLE_ITEM_17_ENTRYID); // 12 1 1
477 define('PLAYER_VISIBLE_ITEM_RANGED',PLAYER_VISIBLE_ITEM_18_ENTRYID); // 12 1 1
478 define('PLAYER_VISIBLE_ITEM_TABARD',PLAYER_VISIBLE_ITEM_19_ENTRYID); // 12 1 1
480 define('PLAYER_SLOT_ITEM_HEAD',PLAYER_FIELD_INV_SLOT_HEAD);
481 define('PLAYER_SLOT_ITEM_NECK',PLAYER_FIELD_INV_SLOT_HEAD+2);
482 define('PLAYER_SLOT_ITEM_SHOULDER',PLAYER_FIELD_INV_SLOT_HEAD+4);
483 define('PLAYER_SLOT_ITEM_SHIRT',PLAYER_FIELD_INV_SLOT_HEAD+6);
484 define('PLAYER_SLOT_ITEM_CHEST',PLAYER_FIELD_INV_SLOT_HEAD+8);
485 define('PLAYER_SLOT_ITEM_BELT',PLAYER_FIELD_INV_SLOT_HEAD+10);
486 define('PLAYER_SLOT_ITEM_LEGS',PLAYER_FIELD_INV_SLOT_HEAD+12);
487 define('PLAYER_SLOT_ITEM_FEET',PLAYER_FIELD_INV_SLOT_HEAD+14);
488 define('PLAYER_SLOT_ITEM_WRIST',PLAYER_FIELD_INV_SLOT_HEAD+16);
489 define('PLAYER_SLOT_ITEM_GLOVES',PLAYER_FIELD_INV_SLOT_HEAD+18);
490 define('PLAYER_SLOT_ITEM_FINGER1',PLAYER_FIELD_INV_SLOT_HEAD+20);
491 define('PLAYER_SLOT_ITEM_FINGER2',PLAYER_FIELD_INV_SLOT_HEAD+22);
492 define('PLAYER_SLOT_ITEM_TRINKET1',PLAYER_FIELD_INV_SLOT_HEAD+24);
493 define('PLAYER_SLOT_ITEM_TRINKET2',PLAYER_FIELD_INV_SLOT_HEAD+26);
494 define('PLAYER_SLOT_ITEM_BACK',PLAYER_FIELD_INV_SLOT_HEAD+28);
495 define('PLAYER_SLOT_ITEM_MAIN_HAND',PLAYER_FIELD_INV_SLOT_HEAD+30);
496 define('PLAYER_SLOT_ITEM_OFF_HAND',PLAYER_FIELD_INV_SLOT_HEAD+32);
497 define('PLAYER_SLOT_ITEM_RANGED',PLAYER_FIELD_INV_SLOT_HEAD+34);
498 define('PLAYER_SLOT_ITEM_TABARD',PLAYER_FIELD_INV_SLOT_HEAD+36);
500 define('EQUIPMENT_SLOT_START', 0);
501 define('EQUIPMENT_SLOT_HEAD', 0);
502 define('EQUIPMENT_SLOT_NECK', 1);
503 define('EQUIPMENT_SLOT_SHOULDERS',2);
504 define('EQUIPMENT_SLOT_BODY', 3);
505 define('EQUIPMENT_SLOT_CHEST', 4);
506 define('EQUIPMENT_SLOT_WAIST', 5);
507 define('EQUIPMENT_SLOT_LEGS', 6);
508 define('EQUIPMENT_SLOT_FEET', 7);
509 define('EQUIPMENT_SLOT_WRISTS', 8);
510 define('EQUIPMENT_SLOT_HANDS', 9);
511 define('EQUIPMENT_SLOT_FINGER1', 10);
512 define('EQUIPMENT_SLOT_FINGER2', 11);
513 define('EQUIPMENT_SLOT_TRINKET1',12);
514 define('EQUIPMENT_SLOT_TRINKET2',13);
515 define('EQUIPMENT_SLOT_BACK', 14);
516 define('EQUIPMENT_SLOT_MAINHAND',15);
517 define('EQUIPMENT_SLOT_OFFHAND', 16);
518 define('EQUIPMENT_SLOT_RANGED', 17);
519 define('EQUIPMENT_SLOT_TABARD', 18);
520 define('EQUIPMENT_SLOT_END', 19);
522 define('INVENTORY_SLOT_BAG_START', 19);
523 define('INVENTORY_SLOT_BAG_END', 23);
525 define('INVENTORY_SLOT_ITEM_START',23);
526 define('INVENTORY_SLOT_ITEM_END',39);
528 define('BANK_SLOT_ITEM_START', 39);
529 define('BANK_SLOT_ITEM_END', 67);
531 define('BANK_SLOT_BAG_START', 67);
532 define('BANK_SLOT_BAG_END', 74);
534 define('BUYBACK_SLOT_START', 74);
535 define('BUYBACK_SLOT_END', 86);
537 define('KEYRING_SLOT_START', 86);
538 define('KEYRING_SLOT_END', 118);
540 define('INVENTORY_SLOT_BAG_0', 255);
542 $gPlayerDataFields = array(
543 OBJECT_END + 0x0000=>'UNIT_FIELD_CHARM',
544 OBJECT_END + 0x0002=>'UNIT_FIELD_SUMMON',
545 OBJECT_END + 0x0004=>'UNIT_FIELD_CRITTER',
546 OBJECT_END + 0x0006=>'UNIT_FIELD_CHARMEDBY',
547 OBJECT_END + 0x0008=>'UNIT_FIELD_SUMMONEDBY',
548 OBJECT_END + 0x000A=>'UNIT_FIELD_CREATEDBY',
549 OBJECT_END + 0x000C=>'UNIT_FIELD_TARGET',
550 OBJECT_END + 0x000E=>'UNIT_FIELD_CHANNEL_OBJECT',
551 OBJECT_END + 0x0010=>'UNIT_FIELD_BYTES_0',
552 OBJECT_END + 0x0011=>'UNIT_FIELD_HEALTH',
553 OBJECT_END + 0x0012=>'UNIT_FIELD_POWER1',
554 OBJECT_END + 0x0013=>'UNIT_FIELD_POWER2',
555 OBJECT_END + 0x0014=>'UNIT_FIELD_POWER3',
556 OBJECT_END + 0x0015=>'UNIT_FIELD_POWER4',
557 OBJECT_END + 0x0016=>'UNIT_FIELD_POWER5',
558 OBJECT_END + 0x0017=>'UNIT_FIELD_POWER6',
559 OBJECT_END + 0x0018=>'UNIT_FIELD_POWER7',
560 OBJECT_END + 0x0019=>'UNIT_FIELD_MAXHEALTH',
561 OBJECT_END + 0x001A=>'UNIT_FIELD_MAXPOWER1',
562 OBJECT_END + 0x001B=>'UNIT_FIELD_MAXPOWER2',
563 OBJECT_END + 0x001C=>'UNIT_FIELD_MAXPOWER3',
564 OBJECT_END + 0x001D=>'UNIT_FIELD_MAXPOWER4',
565 OBJECT_END + 0x001E=>'UNIT_FIELD_MAXPOWER5',
566 OBJECT_END + 0x001F=>'UNIT_FIELD_MAXPOWER6',
567 OBJECT_END + 0x0020=>'UNIT_FIELD_MAXPOWER7',
568 OBJECT_END + 0x0021=>'UNIT_FIELD_POWER_REGEN_FLAT_MODIFIER',
569 OBJECT_END + 0x0028=>'UNIT_FIELD_POWER_REGEN_INTERRUPTED_FLAT_MODIFIER',
570 OBJECT_END + 0x002F=>'UNIT_FIELD_LEVEL',
571 OBJECT_END + 0x0030=>'UNIT_FIELD_FACTIONTEMPLATE',
572 OBJECT_END + 0x0031=>'UNIT_VIRTUAL_ITEM_SLOT_ID',
573 OBJECT_END + 0x0034=>'UNIT_FIELD_FLAGS',
574 OBJECT_END + 0x0035=>'UNIT_FIELD_FLAGS_2',
575 OBJECT_END + 0x0036=>'UNIT_FIELD_AURASTATE',
576 OBJECT_END + 0x0037=>'UNIT_FIELD_BASEATTACKTIME',
577 OBJECT_END + 0x0039=>'UNIT_FIELD_RANGEDATTACKTIME',
578 OBJECT_END + 0x003A=>'UNIT_FIELD_BOUNDINGRADIUS',
579 OBJECT_END + 0x003B=>'UNIT_FIELD_COMBATREACH',
580 OBJECT_END + 0x003C=>'UNIT_FIELD_DISPLAYID',
581 OBJECT_END + 0x003D=>'UNIT_FIELD_NATIVEDISPLAYID',
582 OBJECT_END + 0x003E=>'UNIT_FIELD_MOUNTDISPLAYID',
583 OBJECT_END + 0x003F=>'UNIT_FIELD_MINDAMAGE',
584 OBJECT_END + 0x0040=>'UNIT_FIELD_MAXDAMAGE',
585 OBJECT_END + 0x0041=>'UNIT_FIELD_MINOFFHANDDAMAGE',
586 OBJECT_END + 0x0042=>'UNIT_FIELD_MAXOFFHANDDAMAGE',
587 OBJECT_END + 0x0043=>'UNIT_FIELD_BYTES_1',
588 OBJECT_END + 0x0044=>'UNIT_FIELD_PETNUMBER',
589 OBJECT_END + 0x0045=>'UNIT_FIELD_PET_NAME_TIMESTAMP',
590 OBJECT_END + 0x0046=>'UNIT_FIELD_PETEXPERIENCE',
591 OBJECT_END + 0x0047=>'UNIT_FIELD_PETNEXTLEVELEXP',
592 OBJECT_END + 0x0048=>'UNIT_DYNAMIC_FLAGS',
593 OBJECT_END + 0x0049=>'UNIT_CHANNEL_SPELL',
594 OBJECT_END + 0x004A=>'UNIT_MOD_CAST_SPEED',
595 OBJECT_END + 0x004B=>'UNIT_CREATED_BY_SPELL',
596 OBJECT_END + 0x004C=>'UNIT_NPC_FLAGS',
597 OBJECT_END + 0x004D=>'UNIT_NPC_EMOTESTATE',
598 OBJECT_END + 0x004E=>'UNIT_FIELD_STAT0',
599 OBJECT_END + 0x004F=>'UNIT_FIELD_STAT1',
600 OBJECT_END + 0x0050=>'UNIT_FIELD_STAT2',
601 OBJECT_END + 0x0051=>'UNIT_FIELD_STAT3',
602 OBJECT_END + 0x0052=>'UNIT_FIELD_STAT4',
603 OBJECT_END + 0x0053=>'UNIT_FIELD_POSSTAT0',
604 OBJECT_END + 0x0054=>'UNIT_FIELD_POSSTAT1',
605 OBJECT_END + 0x0055=>'UNIT_FIELD_POSSTAT2',
606 OBJECT_END + 0x0056=>'UNIT_FIELD_POSSTAT3',
607 OBJECT_END + 0x0057=>'UNIT_FIELD_POSSTAT4',
608 OBJECT_END + 0x0058=>'UNIT_FIELD_NEGSTAT0',
609 OBJECT_END + 0x0059=>'UNIT_FIELD_NEGSTAT1',
610 OBJECT_END + 0x005A=>'UNIT_FIELD_NEGSTAT2',
611 OBJECT_END + 0x005B=>'UNIT_FIELD_NEGSTAT3',
612 OBJECT_END + 0x005C=>'UNIT_FIELD_NEGSTAT4',
613 OBJECT_END + 0x005D=>'UNIT_FIELD_RESISTANCES',
614 OBJECT_END + 0x0064=>'UNIT_FIELD_RESISTANCEBUFFMODSPOSITIVE',
615 OBJECT_END + 0x006B=>'UNIT_FIELD_RESISTANCEBUFFMODSNEGATIVE',
616 OBJECT_END + 0x0072=>'UNIT_FIELD_BASE_MANA',
617 OBJECT_END + 0x0073=>'UNIT_FIELD_BASE_HEALTH',
618 OBJECT_END + 0x0074=>'UNIT_FIELD_BYTES_2',
619 OBJECT_END + 0x0075=>'UNIT_FIELD_ATTACK_POWER',
620 OBJECT_END + 0x0076=>'UNIT_FIELD_ATTACK_POWER_MODS',
621 OBJECT_END + 0x0077=>'UNIT_FIELD_ATTACK_POWER_MULTIPLIER',
622 OBJECT_END + 0x0078=>'UNIT_FIELD_RANGED_ATTACK_POWER',
623 OBJECT_END + 0x0079=>'UNIT_FIELD_RANGED_ATTACK_POWER_MODS',
624 OBJECT_END + 0x007A=>'UNIT_FIELD_RANGED_ATTACK_POWER_MULTIPLIER',
625 OBJECT_END + 0x007B=>'UNIT_FIELD_MINRANGEDDAMAGE',
626 OBJECT_END + 0x007C=>'UNIT_FIELD_MAXRANGEDDAMAGE',
627 OBJECT_END + 0x007D=>'UNIT_FIELD_POWER_COST_MODIFIER',
628 OBJECT_END + 0x0084=>'UNIT_FIELD_POWER_COST_MULTIPLIER',
629 OBJECT_END + 0x008B=>'UNIT_FIELD_MAXHEALTHMODIFIER',
630 OBJECT_END + 0x008C=>'UNIT_FIELD_HOVERHEIGHT',
631 OBJECT_END + 0x008D=>'UNIT_FIELD_PADDING',
632 OBJECT_END + 0x008E=>'UNIT_END',
634 UNIT_END + 0x0000=>'PLAYER_DUEL_ARBITER',
635 UNIT_END + 0x0002=>'PLAYER_FLAGS',
636 UNIT_END + 0x0003=>'PLAYER_GUILDID',
637 UNIT_END + 0x0004=>'PLAYER_GUILDRANK',
638 UNIT_END + 0x0005=>'PLAYER_BYTES',
639 UNIT_END + 0x0006=>'PLAYER_BYTES_2',
640 UNIT_END + 0x0007=>'PLAYER_BYTES_3',
641 UNIT_END + 0x0008=>'PLAYER_DUEL_TEAM',
642 UNIT_END + 0x0009=>'PLAYER_GUILD_TIMESTAMP',
643 UNIT_END + 0x000A=>'PLAYER_QUEST_LOG_1_1',
644 UNIT_END + 0x000B=>'PLAYER_QUEST_LOG_1_2',
645 UNIT_END + 0x000C=>'PLAYER_QUEST_LOG_1_3',
646 UNIT_END + 0x000E=>'PLAYER_QUEST_LOG_1_5',
647 UNIT_END + 0x000F=>'PLAYER_QUEST_LOG_2_1',
648 UNIT_END + 0x0010=>'PLAYER_QUEST_LOG_2_2',
649 UNIT_END + 0x0011=>'PLAYER_QUEST_LOG_2_3',
650 UNIT_END + 0x0013=>'PLAYER_QUEST_LOG_2_5',
651 UNIT_END + 0x0014=>'PLAYER_QUEST_LOG_3_1',
652 UNIT_END + 0x0015=>'PLAYER_QUEST_LOG_3_2',
653 UNIT_END + 0x0016=>'PLAYER_QUEST_LOG_3_3',
654 UNIT_END + 0x0018=>'PLAYER_QUEST_LOG_3_5',
655 UNIT_END + 0x0019=>'PLAYER_QUEST_LOG_4_1',
656 UNIT_END + 0x001A=>'PLAYER_QUEST_LOG_4_2',
657 UNIT_END + 0x001B=>'PLAYER_QUEST_LOG_4_3',
658 UNIT_END + 0x001D=>'PLAYER_QUEST_LOG_4_5',
659 UNIT_END + 0x001E=>'PLAYER_QUEST_LOG_5_1',
660 UNIT_END + 0x001F=>'PLAYER_QUEST_LOG_5_2',
661 UNIT_END + 0x0020=>'PLAYER_QUEST_LOG_5_3',
662 UNIT_END + 0x0022=>'PLAYER_QUEST_LOG_5_5',
663 UNIT_END + 0x0023=>'PLAYER_QUEST_LOG_6_1',
664 UNIT_END + 0x0024=>'PLAYER_QUEST_LOG_6_2',
665 UNIT_END + 0x0025=>'PLAYER_QUEST_LOG_6_3',
666 UNIT_END + 0x0027=>'PLAYER_QUEST_LOG_6_5',
667 UNIT_END + 0x0028=>'PLAYER_QUEST_LOG_7_1',
668 UNIT_END + 0x0029=>'PLAYER_QUEST_LOG_7_2',
669 UNIT_END + 0x002A=>'PLAYER_QUEST_LOG_7_3',
670 UNIT_END + 0x002C=>'PLAYER_QUEST_LOG_7_5',
671 UNIT_END + 0x002D=>'PLAYER_QUEST_LOG_8_1',
672 UNIT_END + 0x002E=>'PLAYER_QUEST_LOG_8_2',
673 UNIT_END + 0x002F=>'PLAYER_QUEST_LOG_8_3',
674 UNIT_END + 0x0031=>'PLAYER_QUEST_LOG_8_5',
675 UNIT_END + 0x0032=>'PLAYER_QUEST_LOG_9_1',
676 UNIT_END + 0x0033=>'PLAYER_QUEST_LOG_9_2',
677 UNIT_END + 0x0034=>'PLAYER_QUEST_LOG_9_3',
678 UNIT_END + 0x0036=>'PLAYER_QUEST_LOG_9_5',
679 UNIT_END + 0x0037=>'PLAYER_QUEST_LOG_10_1',
680 UNIT_END + 0x0038=>'PLAYER_QUEST_LOG_10_2',
681 UNIT_END + 0x0039=>'PLAYER_QUEST_LOG_10_3',
682 UNIT_END + 0x003B=>'PLAYER_QUEST_LOG_10_5',
683 UNIT_END + 0x003C=>'PLAYER_QUEST_LOG_11_1',
684 UNIT_END + 0x003D=>'PLAYER_QUEST_LOG_11_2',
685 UNIT_END + 0x003E=>'PLAYER_QUEST_LOG_11_3',
686 UNIT_END + 0x0040=>'PLAYER_QUEST_LOG_11_5',
687 UNIT_END + 0x0041=>'PLAYER_QUEST_LOG_12_1',
688 UNIT_END + 0x0042=>'PLAYER_QUEST_LOG_12_2',
689 UNIT_END + 0x0043=>'PLAYER_QUEST_LOG_12_3',
690 UNIT_END + 0x0045=>'PLAYER_QUEST_LOG_12_5',
691 UNIT_END + 0x0046=>'PLAYER_QUEST_LOG_13_1',
692 UNIT_END + 0x0047=>'PLAYER_QUEST_LOG_13_2',
693 UNIT_END + 0x0048=>'PLAYER_QUEST_LOG_13_3',
694 UNIT_END + 0x004A=>'PLAYER_QUEST_LOG_13_5',
695 UNIT_END + 0x004B=>'PLAYER_QUEST_LOG_14_1',
696 UNIT_END + 0x004C=>'PLAYER_QUEST_LOG_14_2',
697 UNIT_END + 0x004D=>'PLAYER_QUEST_LOG_14_3',
698 UNIT_END + 0x004F=>'PLAYER_QUEST_LOG_14_5',
699 UNIT_END + 0x0050=>'PLAYER_QUEST_LOG_15_1',
700 UNIT_END + 0x0051=>'PLAYER_QUEST_LOG_15_2',
701 UNIT_END + 0x0052=>'PLAYER_QUEST_LOG_15_3',
702 UNIT_END + 0x0054=>'PLAYER_QUEST_LOG_15_5',
703 UNIT_END + 0x0055=>'PLAYER_QUEST_LOG_16_1',
704 UNIT_END + 0x0056=>'PLAYER_QUEST_LOG_16_2',
705 UNIT_END + 0x0057=>'PLAYER_QUEST_LOG_16_3',
706 UNIT_END + 0x0059=>'PLAYER_QUEST_LOG_16_5',
707 UNIT_END + 0x005A=>'PLAYER_QUEST_LOG_17_1',
708 UNIT_END + 0x005B=>'PLAYER_QUEST_LOG_17_2',
709 UNIT_END + 0x005C=>'PLAYER_QUEST_LOG_17_3',
710 UNIT_END + 0x005E=>'PLAYER_QUEST_LOG_17_5',
711 UNIT_END + 0x005F=>'PLAYER_QUEST_LOG_18_1',
712 UNIT_END + 0x0060=>'PLAYER_QUEST_LOG_18_2',
713 UNIT_END + 0x0061=>'PLAYER_QUEST_LOG_18_3',
714 UNIT_END + 0x0063=>'PLAYER_QUEST_LOG_18_5',
715 UNIT_END + 0x0064=>'PLAYER_QUEST_LOG_19_1',
716 UNIT_END + 0x0065=>'PLAYER_QUEST_LOG_19_2',
717 UNIT_END + 0x0066=>'PLAYER_QUEST_LOG_19_3',
718 UNIT_END + 0x0068=>'PLAYER_QUEST_LOG_19_5',
719 UNIT_END + 0x0069=>'PLAYER_QUEST_LOG_20_1',
720 UNIT_END + 0x006A=>'PLAYER_QUEST_LOG_20_2',
721 UNIT_END + 0x006B=>'PLAYER_QUEST_LOG_20_3',
722 UNIT_END + 0x006D=>'PLAYER_QUEST_LOG_20_5',
723 UNIT_END + 0x006E=>'PLAYER_QUEST_LOG_21_1',
724 UNIT_END + 0x006F=>'PLAYER_QUEST_LOG_21_2',
725 UNIT_END + 0x0070=>'PLAYER_QUEST_LOG_21_3',
726 UNIT_END + 0x0072=>'PLAYER_QUEST_LOG_21_5',
727 UNIT_END + 0x0073=>'PLAYER_QUEST_LOG_22_1',
728 UNIT_END + 0x0074=>'PLAYER_QUEST_LOG_22_2',
729 UNIT_END + 0x0075=>'PLAYER_QUEST_LOG_22_3',
730 UNIT_END + 0x0077=>'PLAYER_QUEST_LOG_22_5',
731 UNIT_END + 0x0078=>'PLAYER_QUEST_LOG_23_1',
732 UNIT_END + 0x0079=>'PLAYER_QUEST_LOG_23_2',
733 UNIT_END + 0x007A=>'PLAYER_QUEST_LOG_23_3',
734 UNIT_END + 0x007C=>'PLAYER_QUEST_LOG_23_5',
735 UNIT_END + 0x007D=>'PLAYER_QUEST_LOG_24_1',
736 UNIT_END + 0x007E=>'PLAYER_QUEST_LOG_24_2',
737 UNIT_END + 0x007F=>'PLAYER_QUEST_LOG_24_3',
738 UNIT_END + 0x0081=>'PLAYER_QUEST_LOG_24_5',
739 UNIT_END + 0x0082=>'PLAYER_QUEST_LOG_25_1',
740 UNIT_END + 0x0083=>'PLAYER_QUEST_LOG_25_2',
741 UNIT_END + 0x0084=>'PLAYER_QUEST_LOG_25_3',
742 UNIT_END + 0x0086=>'PLAYER_QUEST_LOG_25_5',
743 UNIT_END + 0x0087=>'PLAYER_VISIBLE_ITEM_1_ENTRYID',
744 UNIT_END + 0x0088=>'PLAYER_VISIBLE_ITEM_1_ENCHANTMENT',
745 UNIT_END + 0x0089=>'PLAYER_VISIBLE_ITEM_2_ENTRYID',
746 UNIT_END + 0x008A=>'PLAYER_VISIBLE_ITEM_2_ENCHANTMENT',
747 UNIT_END + 0x008B=>'PLAYER_VISIBLE_ITEM_3_ENTRYID',
748 UNIT_END + 0x008C=>'PLAYER_VISIBLE_ITEM_3_ENCHANTMENT',
749 UNIT_END + 0x008D=>'PLAYER_VISIBLE_ITEM_4_ENTRYID',
750 UNIT_END + 0x008E=>'PLAYER_VISIBLE_ITEM_4_ENCHANTMENT',
751 UNIT_END + 0x008F=>'PLAYER_VISIBLE_ITEM_5_ENTRYID',
752 UNIT_END + 0x0090=>'PLAYER_VISIBLE_ITEM_5_ENCHANTMENT',
753 UNIT_END + 0x0091=>'PLAYER_VISIBLE_ITEM_6_ENTRYID',
754 UNIT_END + 0x0092=>'PLAYER_VISIBLE_ITEM_6_ENCHANTMENT',
755 UNIT_END + 0x0093=>'PLAYER_VISIBLE_ITEM_7_ENTRYID',
756 UNIT_END + 0x0094=>'PLAYER_VISIBLE_ITEM_7_ENCHANTMENT',
757 UNIT_END + 0x0095=>'PLAYER_VISIBLE_ITEM_8_ENTRYID',
758 UNIT_END + 0x0096=>'PLAYER_VISIBLE_ITEM_8_ENCHANTMENT',
759 UNIT_END + 0x0097=>'PLAYER_VISIBLE_ITEM_9_ENTRYID',
760 UNIT_END + 0x0098=>'PLAYER_VISIBLE_ITEM_9_ENCHANTMENT',
761 UNIT_END + 0x0099=>'PLAYER_VISIBLE_ITEM_10_ENTRYID',
762 UNIT_END + 0x009A=>'PLAYER_VISIBLE_ITEM_10_ENCHANTMENT',
763 UNIT_END + 0x009B=>'PLAYER_VISIBLE_ITEM_11_ENTRYID',
764 UNIT_END + 0x009C=>'PLAYER_VISIBLE_ITEM_11_ENCHANTMENT',
765 UNIT_END + 0x009D=>'PLAYER_VISIBLE_ITEM_12_ENTRYID',
766 UNIT_END + 0x009E=>'PLAYER_VISIBLE_ITEM_12_ENCHANTMENT',
767 UNIT_END + 0x009F=>'PLAYER_VISIBLE_ITEM_13_ENTRYID',
768 UNIT_END + 0x00A0=>'PLAYER_VISIBLE_ITEM_13_ENCHANTMENT',
769 UNIT_END + 0x00A1=>'PLAYER_VISIBLE_ITEM_14_ENTRYID',
770 UNIT_END + 0x00A2=>'PLAYER_VISIBLE_ITEM_14_ENCHANTMENT',
771 UNIT_END + 0x00A3=>'PLAYER_VISIBLE_ITEM_15_ENTRYID',
772 UNIT_END + 0x00A4=>'PLAYER_VISIBLE_ITEM_15_ENCHANTMENT',
773 UNIT_END + 0x00A5=>'PLAYER_VISIBLE_ITEM_16_ENTRYID',
774 UNIT_END + 0x00A6=>'PLAYER_VISIBLE_ITEM_16_ENCHANTMENT',
775 UNIT_END + 0x00A7=>'PLAYER_VISIBLE_ITEM_17_ENTRYID',
776 UNIT_END + 0x00A8=>'PLAYER_VISIBLE_ITEM_17_ENCHANTMENT',
777 UNIT_END + 0x00A9=>'PLAYER_VISIBLE_ITEM_18_ENTRYID',
778 UNIT_END + 0x00AA=>'PLAYER_VISIBLE_ITEM_18_ENCHANTMENT',
779 UNIT_END + 0x00AB=>'PLAYER_VISIBLE_ITEM_19_ENTRYID',
780 UNIT_END + 0x00AC=>'PLAYER_VISIBLE_ITEM_19_ENCHANTMENT',
781 UNIT_END + 0x00AD=>'PLAYER_CHOSEN_TITLE',
782 UNIT_END + 0x00AE=>'PLAYER_FAKE_INEBRIATION',
783 UNIT_END + 0x00AF=>'PLAYER_FIELD_PAD_0',
784 UNIT_END + 0x00B0=>'PLAYER_FIELD_INV_SLOT_HEAD',
785 UNIT_END + 0x00DE=>'PLAYER_FIELD_PACK_SLOT_1',
786 UNIT_END + 0x00FE=>'PLAYER_FIELD_BANK_SLOT_1',
787 UNIT_END + 0x0136=>'PLAYER_FIELD_BANKBAG_SLOT_1',
788 UNIT_END + 0x0144=>'PLAYER_FIELD_VENDORBUYBACK_SLOT_1',
789 UNIT_END + 0x015C=>'PLAYER_FIELD_KEYRING_SLOT_1',
790 UNIT_END + 0x019C=>'PLAYER_FIELD_CURRENCYTOKEN_SLOT_1',
791 UNIT_END + 0x01DC=>'PLAYER_FARSIGHT',
792 UNIT_END + 0x01DE=>'PLAYER__FIELD_KNOWN_TITLES',
793 UNIT_END + 0x01E0=>'PLAYER__FIELD_KNOWN_TITLES1',
794 UNIT_END + 0x01E2=>'PLAYER__FIELD_KNOWN_TITLES2',
795 UNIT_END + 0x01E4=>'PLAYER_FIELD_KNOWN_CURRENCIES',
796 UNIT_END + 0x01E6=>'PLAYER_XP',
797 UNIT_END + 0x01E7=>'PLAYER_NEXT_LEVEL_XP',
798 UNIT_END + 0x01E8=>'PLAYER_SKILL_INFO_1_1',
799 UNIT_END + 0x0368=>'PLAYER_CHARACTER_POINTS1',
800 UNIT_END + 0x0369=>'PLAYER_CHARACTER_POINTS2',
801 UNIT_END + 0x036A=>'PLAYER_TRACK_CREATURES',
802 UNIT_END + 0x036B=>'PLAYER_TRACK_RESOURCES',
803 UNIT_END + 0x036C=>'PLAYER_BLOCK_PERCENTAGE',
804 UNIT_END + 0x036D=>'PLAYER_DODGE_PERCENTAGE',
805 UNIT_END + 0x036E=>'PLAYER_PARRY_PERCENTAGE',
806 UNIT_END + 0x036F=>'PLAYER_EXPERTISE',
807 UNIT_END + 0x0370=>'PLAYER_OFFHAND_EXPERTISE',
808 UNIT_END + 0x0371=>'PLAYER_CRIT_PERCENTAGE',
809 UNIT_END + 0x0372=>'PLAYER_RANGED_CRIT_PERCENTAGE',
810 UNIT_END + 0x0373=>'PLAYER_OFFHAND_CRIT_PERCENTAGE',
811 UNIT_END + 0x0374=>'PLAYER_SPELL_CRIT_PERCENTAGE1',
812 UNIT_END + 0x037B=>'PLAYER_SHIELD_BLOCK',
813 UNIT_END + 0x037C=>'PLAYER_SHIELD_BLOCK_CRIT_PERCENTAGE',
814 UNIT_END + 0x037D=>'PLAYER_EXPLORED_ZONES_1',
815 UNIT_END + 0x03FD=>'PLAYER_REST_STATE_EXPERIENCE',
816 UNIT_END + 0x03FE=>'PLAYER_FIELD_COINAGE',
817 UNIT_END + 0x03FF=>'PLAYER_FIELD_MOD_DAMAGE_DONE_POS',
818 UNIT_END + 0x0406=>'PLAYER_FIELD_MOD_DAMAGE_DONE_NEG',
819 UNIT_END + 0x040D=>'PLAYER_FIELD_MOD_DAMAGE_DONE_PCT',
820 UNIT_END + 0x0414=>'PLAYER_FIELD_MOD_HEALING_DONE_POS',
821 UNIT_END + 0x0415=>'PLAYER_FIELD_MOD_HEALING_PCT',
822 UNIT_END + 0x0416=>'PLAYER_FIELD_MOD_HEALING_DONE_PCT',
823 UNIT_END + 0x0417=>'PLAYER_FIELD_MOD_TARGET_RESISTANCE',
824 UNIT_END + 0x0418=>'PLAYER_FIELD_MOD_TARGET_PHYSICAL_RESISTANCE',
825 UNIT_END + 0x0419=>'PLAYER_FIELD_BYTES',
826 UNIT_END + 0x041A=>'PLAYER_AMMO_ID',
827 UNIT_END + 0x041B=>'PLAYER_SELF_RES_SPELL',
828 UNIT_END + 0x041C=>'PLAYER_FIELD_PVP_MEDALS',
829 UNIT_END + 0x041D=>'PLAYER_FIELD_BUYBACK_PRICE_1',
830 UNIT_END + 0x0429=>'PLAYER_FIELD_BUYBACK_TIMESTAMP_1',
831 UNIT_END + 0x0435=>'PLAYER_FIELD_KILLS',
832 UNIT_END + 0x0436=>'PLAYER_FIELD_TODAY_CONTRIBUTION',
833 UNIT_END + 0x0437=>'PLAYER_FIELD_YESTERDAY_CONTRIBUTION',
834 UNIT_END + 0x0438=>'PLAYER_FIELD_LIFETIME_HONORBALE_KILLS',
835 UNIT_END + 0x0439=>'PLAYER_FIELD_BYTES2',
836 UNIT_END + 0x043A=>'PLAYER_FIELD_WATCHED_FACTION_INDEX',
837 UNIT_END + 0x043B=>'PLAYER_FIELD_COMBAT_RATING_1',
838 UNIT_END + 0x0454=>'PLAYER_FIELD_ARENA_TEAM_INFO_1_1',
839 UNIT_END + 0x0469=>'PLAYER_FIELD_HONOR_CURRENCY',
840 UNIT_END + 0x046A=>'PLAYER_FIELD_ARENA_CURRENCY',
841 UNIT_END + 0x046B=>'PLAYER_FIELD_MAX_LEVEL',
842 UNIT_END + 0x046C=>'PLAYER_FIELD_DAILY_QUESTS_1',
843 UNIT_END + 0x0485=>'PLAYER_RUNE_REGEN_1',
844 UNIT_END + 0x0489=>'PLAYER_NO_REAGENT_COST_1',
845 UNIT_END + 0x048C=>'PLAYER_FIELD_GLYPH_SLOTS_1',
846 UNIT_END + 0x0492=>'PLAYER_FIELD_GLYPHS_1',
847 UNIT_END + 0x0498=>'PLAYER_GLYPHS_ENABLED',
848 UNIT_END + 0x0499=>'PLAYER_FIELD_PADDING',
849 UNIT_END + 0x049A=>'PLAYER_END',
851 PLAYER_SPELL_CRIT_PERCENTAGE+1=>'PLAYER_HOLY_SPELL_CRIT_PERCENTAGE',
852 PLAYER_SPELL_CRIT_PERCENTAGE+2=>'PLAYER_FIRE_SPELL_CRIT_PERCENTAGE',
853 PLAYER_SPELL_CRIT_PERCENTAGE+3=>'PLAYER_NATURE_SPELL_CRIT_PERCENTAGE',
854 PLAYER_SPELL_CRIT_PERCENTAGE+4=>'PLAYER_FROST_SPELL_CRIT_PERCENTAGE',
855 PLAYER_SPELL_CRIT_PERCENTAGE+5=>'PLAYER_SHADOW_SPELL_CRIT_PERCENTAGE',
856 PLAYER_SPELL_CRIT_PERCENTAGE+6=>'PLAYER_ARCANE_SPELL_CRIT_PERCENTAGE',
858 PLAYER_FIELD_ARENA_TEAM_INFO_1_1=>'PLAYER_FIELD_ARENA_TEAM_ID_2v2',
859 PLAYER_FIELD_ARENA_TEAM_INFO_1_1+6=>'PLAYER_FIELD_ARENA_TEAM_ID_3v3',
860 PLAYER_FIELD_ARENA_TEAM_INFO_1_1+12=>'PLAYER_FIELD_ARENA_TEAM_ID_5v5',
862 PLAYER_FIELD_COMBAT_RATING=>'PLAYER_FIELD_ALL_WEAPON_SKILL_RATING', // CR_WEAPON_SKILL
863 PLAYER_FIELD_COMBAT_RATING+1=>'PLAYER_FIELD_DEFENCE_RATING', // CR_DEFENSE_SKILL
864 PLAYER_FIELD_COMBAT_RATING+2=>'PLAYER_FIELD_DODGE_RATING', // CR_DODGE
865 PLAYER_FIELD_COMBAT_RATING+3=>'PLAYER_FIELD_PARRY_RATING', // CR_PARRY
866 PLAYER_FIELD_COMBAT_RATING+4=>'PLAYER_FIELD_BLOCK_RATING', // CR_BLOCK
867 PLAYER_FIELD_COMBAT_RATING+5=>'PLAYER_FIELD_MELEE_HIT_RATING', // CR_HIT_MELEE
868 PLAYER_FIELD_COMBAT_RATING+6=>'PLAYER_FIELD_RANGED_HIT_RATING', // CR_HIT_RANGED
869 PLAYER_FIELD_COMBAT_RATING+7=>'PLAYER_FIELD_SPELL_HIT_RATING', // CR_HIT_SPELL
870 PLAYER_FIELD_COMBAT_RATING+8=>'PLAYER_FIELD_MELEE_CRIT_RATING', // CR_CRIT_MELEE
871 PLAYER_FIELD_COMBAT_RATING+9=>'PLAYER_FIELD_RANGED_CRIT_RATING', // CR_CRIT_RANGED
872 PLAYER_FIELD_COMBAT_RATING+10=>'PLAYER_FIELD_SPELL_CRIT_RATING', // CR_CRIT_SPELL
873 PLAYER_FIELD_COMBAT_RATING+11=>'PLAYER_FIELD_TAKEN_MELEE_HIT_RATING', // CR_HIT_TAKEN_MELEE
874 PLAYER_FIELD_COMBAT_RATING+12=>'PLAYER_FIELD_TAKEN_RANGED_HIT_RATING', // CR_HIT_TAKEN_RANGED
875 PLAYER_FIELD_COMBAT_RATING+13=>'PLAYER_FIELD_TAKEN_SPELL_HIT_RATING', // CR_HIT_TAKEN_SPELL
876 PLAYER_FIELD_COMBAT_RATING+14=>'PLAYER_FIELD_CRIT_TAKEN_MELEE_RATING', // CR_CRIT_TAKEN_MELEE
877 PLAYER_FIELD_COMBAT_RATING+15=>'PLAYER_FIELD_CRIT_TAKEN_RANGED_RATING', // CR_CRIT_TAKEN_RANGED
878 PLAYER_FIELD_COMBAT_RATING+16=>'PLAYER_FIELD_CRIT_TAKEN_SPELL_RATING', // CR_CRIT_TAKEN_SPELL
879 PLAYER_FIELD_COMBAT_RATING+17=>'PLAYER_FIELD_MELEE_HASTE_RATING', // CR_HASTE_MELEE
880 PLAYER_FIELD_COMBAT_RATING+18=>'PLAYER_FIELD_RANGED_HASTE_RATING', // CR_HASTE_RANGED
881 PLAYER_FIELD_COMBAT_RATING+19=>'PLAYER_FIELD_SPELL_HASTE_RATING', // CR_HASTE_SPELL
882 PLAYER_FIELD_COMBAT_RATING+20=>'PLAYER_FIELD_MELEE_WEAPON_SKILL_RATING', // CR_WEAPON_SKILL_MAINHAND
883 PLAYER_FIELD_COMBAT_RATING+21=>'PLAYER_FIELD_OFFHAND_WEAPON_SKILL_RATING', // CR_WEAPON_SKILL_OFFHAND
884 PLAYER_FIELD_COMBAT_RATING+22=>'PLAYER_FIELD_RANGED_WEAPON_SKILL_RATING', // CR_WEAPON_SKILL_RANGED
885 PLAYER_FIELD_COMBAT_RATING+23=>'PLAYER_FIELD_EXPERTISE_RATING',