Correction: character GUIDs count created characters within servers in the same battlegroup.
(Correction: character GUIDs count created characters within servers in the same battlegroup.) |
|||
| Line 70: | Line 70: | ||
== Speculations == | == Speculations == | ||
The | The values returned from players indicate how recently those players were created. Someone with the number 1000 would be the 1000th created character across all servers in the same battlegroup, similar to how NPC GUIDs increment as they spawn. This is evident when comparing old characters with newly created ones, and allows for globally unique player GUIDs in battlegrounds. In addition, creating two new characters in quick succession on same-battlegroup servers will yield GUIDs very near to each other in the predicted order. Each NPC that respawns adds a number higher, so 4294967295 means that there have been 4294967294 NPCs before that one spawned. Renaming does not change the player UnitGUID value so you can track players trough renames using this; unfortunately if you transfer your character, it obtains a new GUID as if it were a new character. In instances, spawned NPC/mobs return the same value, unlike outside of instances. Player pets keep their values when despawned and then respawned, so pets appear to have their own GUID counter like characters do. | ||
== Returns == | == Returns == | ||