WoW:API UnitGUID: Difference between revisions

222 bytes removed ,  3 February 2009
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 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))
* It's a vehicle (carries others) if the upper bits masked with 0x00f = 0x005


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