Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] But that pushed uint64 is guid?

[DiscordArchive] But that pushed uint64 is guid?

[DiscordArchive] But that pushed uint64 is guid?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
05-10-2021, 08:45 AM
#1
Archived author: Deleted User • Posted: 2021-05-10T08:45:21.010000+00:00
Original source

But that pushed uint64 is guid?
rektbyfaith
05-10-2021, 08:45 AM #1

Archived author: Deleted User • Posted: 2021-05-10T08:45:21.010000+00:00
Original source

But that pushed uint64 is guid?

rektbyfaith
Administrator
0
05-10-2021, 08:45 AM
#2
Archived author: Deleted User • Posted: 2021-05-10T08:45:47.491000+00:00
Original source

I don't understand you
rektbyfaith
05-10-2021, 08:45 AM #2

Archived author: Deleted User • Posted: 2021-05-10T08:45:47.491000+00:00
Original source

I don't understand you

rektbyfaith
Administrator
0
05-10-2021, 08:46 AM
#3
Archived author: Yehonal • Posted: 2021-05-10T08:46:14.790000+00:00
Original source

let's say that in a Lua script you want to use the `OnAddMember` hook from the Group class
rektbyfaith
05-10-2021, 08:46 AM #3

Archived author: Yehonal • Posted: 2021-05-10T08:46:14.790000+00:00
Original source

let's say that in a Lua script you want to use the `OnAddMember` hook from the Group class

rektbyfaith
Administrator
0
05-10-2021, 08:46 AM
#4
Archived author: Yehonal • Posted: 2021-05-10T08:46:57.829000+00:00
Original source

this hook has 2 parameters, the Group (which is a class that you can use in Lua) and the guid that you said is converted to a uint64
rektbyfaith
05-10-2021, 08:46 AM #4

Archived author: Yehonal • Posted: 2021-05-10T08:46:57.829000+00:00
Original source

this hook has 2 parameters, the Group (which is a class that you can use in Lua) and the guid that you said is converted to a uint64

rektbyfaith
Administrator
0
05-10-2021, 08:47 AM
#5
Archived author: Yehonal • Posted: 2021-05-10T08:47:20.006000+00:00
Original source

therefore, if you want to access to the "low" part of the uint64 you should do it manually in Lua
rektbyfaith
05-10-2021, 08:47 AM #5

Archived author: Yehonal • Posted: 2021-05-10T08:47:20.006000+00:00
Original source

therefore, if you want to access to the "low" part of the uint64 you should do it manually in Lua

rektbyfaith
Administrator
0
05-10-2021, 08:47 AM
#6
Archived author: Yehonal • Posted: 2021-05-10T08:47:23.058000+00:00
Original source

(?)
rektbyfaith
05-10-2021, 08:47 AM #6

Archived author: Yehonal • Posted: 2021-05-10T08:47:23.058000+00:00
Original source

(?)

rektbyfaith
Administrator
0
05-10-2021, 08:47 AM
#7
Archived author: Deleted User • Posted: 2021-05-10T08:47:44.036000+00:00
Original source

If you need low part of guid (and it's ObjectGuid), then use GetCounter
```
uint32 lowGuid = guid.GetCounter()
```
Or
```
uint32 lowGuid = ObjectGuid(uint64(value)).GetCounter()
```
rektbyfaith
05-10-2021, 08:47 AM #7

Archived author: Deleted User • Posted: 2021-05-10T08:47:44.036000+00:00
Original source

If you need low part of guid (and it's ObjectGuid), then use GetCounter
```
uint32 lowGuid = guid.GetCounter()
```
Or
```
uint32 lowGuid = ObjectGuid(uint64(value)).GetCounter()
```

rektbyfaith
Administrator
0
05-10-2021, 08:47 AM
#8
Archived author: Yehonal • Posted: 2021-05-10T08:47:56.685000+00:00
Original source

but this is in c++
rektbyfaith
05-10-2021, 08:47 AM #8

Archived author: Yehonal • Posted: 2021-05-10T08:47:56.685000+00:00
Original source

but this is in c++

rektbyfaith
Administrator
0
05-10-2021, 08:48 AM
#9
Archived author: Deleted User • Posted: 2021-05-10T08:48:48.173000+00:00
Original source

Yep
As I said - there is no difference between low part and raw value of guids for players
rektbyfaith
05-10-2021, 08:48 AM #9

Archived author: Deleted User • Posted: 2021-05-10T08:48:48.173000+00:00
Original source

Yep
As I said - there is no difference between low part and raw value of guids for players

rektbyfaith
Administrator
0
05-10-2021, 08:48 AM
#10
Archived author: Deleted User • Posted: 2021-05-10T08:48:54.922000+00:00
Original source

For other objects - hmm
rektbyfaith
05-10-2021, 08:48 AM #10

Archived author: Deleted User • Posted: 2021-05-10T08:48:54.922000+00:00
Original source

For other objects - hmm

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)