Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] What's the purpose of low GUIDs? Why not just use a regular GUID?

[DiscordArchive] What's the purpose of low GUIDs? Why not just use a regular GUID?

[DiscordArchive] What's the purpose of low GUIDs? Why not just use a regular GUID?

rektbyfaith
Administrator
0
06-21-2023, 04:09 PM
#1
Archived author: ritzmenardi • Posted: 2023-06-21T16:09:24.365000+00:00
Original source

What's the purpose of low GUIDs? Why not just use a regular GUID?
rektbyfaith
06-21-2023, 04:09 PM #1

Archived author: ritzmenardi • Posted: 2023-06-21T16:09:24.365000+00:00
Original source

What's the purpose of low GUIDs? Why not just use a regular GUID?

rektbyfaith
Administrator
0
06-21-2023, 04:13 PM
#2
Archived author: Foe • Posted: 2023-06-21T16:13:35.016000+00:00
Original source

In general? They're a smaller datatype and gives good enough identification as long as you're not mixing unit/object types
rektbyfaith
06-21-2023, 04:13 PM #2

Archived author: Foe • Posted: 2023-06-21T16:13:35.016000+00:00
Original source

In general? They're a smaller datatype and gives good enough identification as long as you're not mixing unit/object types

rektbyfaith
Administrator
0
06-21-2023, 04:16 PM
#3
Archived author: ritzmenardi • Posted: 2023-06-21T16:16:17.953000+00:00
Original source

So they're unique among all current instantiations? For example player:GetGUIDLow() would return a unique player lowGUID but it might collide with WorldObject:GetGUIDLow()?
rektbyfaith
06-21-2023, 04:16 PM #3

Archived author: ritzmenardi • Posted: 2023-06-21T16:16:17.953000+00:00
Original source

So they're unique among all current instantiations? For example player:GetGUIDLow() would return a unique player lowGUID but it might collide with WorldObject:GetGUIDLow()?

rektbyfaith
Administrator
0
06-21-2023, 04:17 PM
#4
Archived author: Foe • Posted: 2023-06-21T16:17:04.153000+00:00
Original source

depends on the worldobject, if the worldobject is a player object then it wouldn't collide, but it could technically collide with a creature or gameobject object
rektbyfaith
06-21-2023, 04:17 PM #4

Archived author: Foe • Posted: 2023-06-21T16:17:04.153000+00:00
Original source

depends on the worldobject, if the worldobject is a player object then it wouldn't collide, but it could technically collide with a creature or gameobject object

rektbyfaith
Administrator
0
06-21-2023, 04:21 PM
#5
Archived author: Foe • Posted: 2023-06-21T16:21:15.566000+00:00
Original source

emulators handle guids differently than Blizz does, but Blizz' structure makes it more apparent how they are built, and we handle them somewhat similarly

Creature-0-4170-0-41-68662-00000F4B37

This would be a full GUID for an creature, where you have the identifier and other identification prior to the low GUID

If you use a player GUID as a comparison, the player GUID would look something like this

Player-970-00000F4B37

Both are easily distinguishable as a full GUID, but they share the same low GUID
rektbyfaith
06-21-2023, 04:21 PM #5

Archived author: Foe • Posted: 2023-06-21T16:21:15.566000+00:00
Original source

emulators handle guids differently than Blizz does, but Blizz' structure makes it more apparent how they are built, and we handle them somewhat similarly

Creature-0-4170-0-41-68662-00000F4B37

This would be a full GUID for an creature, where you have the identifier and other identification prior to the low GUID

If you use a player GUID as a comparison, the player GUID would look something like this

Player-970-00000F4B37

Both are easily distinguishable as a full GUID, but they share the same low GUID

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)