WoW:API UnitGUID: Difference between revisions

m
→‎Determine if it's a player, pet or NPC: Added some confirmation of 0x..5 being creatures
No edit summary
m (→‎Determine if it's a player, pet or NPC: Added some confirmation of 0x..5 being creatures)
Line 21: Line 21:
* It's a creature if the upper bits masked with 0x00f = 0x003
* It's a creature if the upper bits masked with 0x00f = 0x003
* It's a pet if the upper bits masked with 0x00f = 0x004
* It's a pet if the upper bits masked with 0x00f = 0x004
* It's (unknown) if the upper bits masked with 0x00f = 0x005 (seems to be true for some creatures, unsure why)
* It appears that it's also a creature if the upper bits masked with 0x00f = 0x005 - (My guess is that these are those creatures that 'carry' others, such as Grizzly Bears (trout), or Rhinos (Tick birds) -- [[User:Flickering|Flickering]] ([[User talk:Flickering|talk]]) 02:41, 12 January 2009 (UTC))
 


=== Format for players ===
=== Format for players ===
Anonymous user