Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Maybe we could have a Unit::GetDisplayRace() method?

[DiscordArchive] Maybe we could have a Unit::GetDisplayRace() method?

[DiscordArchive] Maybe we could have a Unit::GetDisplayRace() method?

Pages (4): 1 2 3 4 Next
rektbyfaith
Administrator
0
10-28-2023, 01:40 PM
#1
Archived author: Natrist • Posted: 2023-10-28T13:40:48.337000+00:00
Original source

Maybe we could have a Unit::GetDisplayRace() method?
rektbyfaith
10-28-2023, 01:40 PM #1

Archived author: Natrist • Posted: 2023-10-28T13:40:48.337000+00:00
Original source

Maybe we could have a Unit::GetDisplayRace() method?

rektbyfaith
Administrator
0
10-28-2023, 01:42 PM
#2
Archived author: sudlud • Posted: 2023-10-28T13:42:10.500000+00:00
Original source

Ah now I see where you’re going. So although the actual values for races / display races are the same, you’d like to differentiate it in the unit
rektbyfaith
10-28-2023, 01:42 PM #2

Archived author: sudlud • Posted: 2023-10-28T13:42:10.500000+00:00
Original source

Ah now I see where you’re going. So although the actual values for races / display races are the same, you’d like to differentiate it in the unit

rektbyfaith
Administrator
0
10-28-2023, 01:43 PM
#3
Archived author: Natrist • Posted: 2023-10-28T13:43:06.864000+00:00
Original source

Well, the reason why I think we should differentiate the two is because I don't think they're ultimately the same thing.
rektbyfaith
10-28-2023, 01:43 PM #3

Archived author: Natrist • Posted: 2023-10-28T13:43:06.864000+00:00
Original source

Well, the reason why I think we should differentiate the two is because I don't think they're ultimately the same thing.

rektbyfaith
Administrator
0
10-28-2023, 01:43 PM
#4
Archived author: sudlud • Posted: 2023-10-28T13:43:49.732000+00:00
Original source

True
rektbyfaith
10-28-2023, 01:43 PM #4

Archived author: sudlud • Posted: 2023-10-28T13:43:49.732000+00:00
Original source

True

rektbyfaith
Administrator
0
10-28-2023, 01:44 PM
#5
Archived author: sudlud • Posted: 2023-10-28T13:44:17.645000+00:00
Original source

So the displayrace would always update when the modelid changes
rektbyfaith
10-28-2023, 01:44 PM #5

Archived author: sudlud • Posted: 2023-10-28T13:44:17.645000+00:00
Original source

So the displayrace would always update when the modelid changes

rektbyfaith
Administrator
0
10-28-2023, 01:44 PM
#6
Archived author: Natrist • Posted: 2023-10-28T13:44:34.439000+00:00
Original source

Yes, but not the actual race, for example
rektbyfaith
10-28-2023, 01:44 PM #6

Archived author: Natrist • Posted: 2023-10-28T13:44:34.439000+00:00
Original source

Yes, but not the actual race, for example

rektbyfaith
Administrator
0
10-28-2023, 01:45 PM
#7
Archived author: Natrist • Posted: 2023-10-28T13:45:03.933000+00:00
Original source

I'm going to dig a bit more into the client and see if I can find anything interesting.
rektbyfaith
10-28-2023, 01:45 PM #7

Archived author: Natrist • Posted: 2023-10-28T13:45:03.933000+00:00
Original source

I'm going to dig a bit more into the client and see if I can find anything interesting.

rektbyfaith
Administrator
0
10-28-2023, 01:45 PM
#8
Archived author: Natrist • Posted: 2023-10-28T13:45:32.890000+00:00
Original source

So far it seems to me like all units have a race field but in *modern* clients, the display race is being used for NPCs.
rektbyfaith
10-28-2023, 01:45 PM #8

Archived author: Natrist • Posted: 2023-10-28T13:45:32.890000+00:00
Original source

So far it seems to me like all units have a race field but in *modern* clients, the display race is being used for NPCs.

rektbyfaith
Administrator
0
10-28-2023, 01:46 PM
#9
Archived author: Natrist • Posted: 2023-10-28T13:46:07.817000+00:00
Original source

So we can assume that's what Blizzard does on the server side also. NPCs don't really have a race other than that "fake" value.
rektbyfaith
10-28-2023, 01:46 PM #9

Archived author: Natrist • Posted: 2023-10-28T13:46:07.817000+00:00
Original source

So we can assume that's what Blizzard does on the server side also. NPCs don't really have a race other than that "fake" value.

rektbyfaith
Administrator
0
10-28-2023, 01:46 PM
#10
Archived author: sudlud • Posted: 2023-10-28T13:46:44.635000+00:00
Original source

So Unit could get an _displayRace field that’s updated on model change
rektbyfaith
10-28-2023, 01:46 PM #10

Archived author: sudlud • Posted: 2023-10-28T13:46:44.635000+00:00
Original source

So Unit could get an _displayRace field that’s updated on model change

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