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): Previous 1 2 3 4
rektbyfaith
Administrator
0
10-28-2023, 05:37 PM
#31
Archived author: Natrist • Posted: 2023-10-28T17:37:21.419000+00:00
Original source

I think it should be under unit.
rektbyfaith
10-28-2023, 05:37 PM #31

Archived author: Natrist • Posted: 2023-10-28T17:37:21.419000+00:00
Original source

I think it should be under unit.

rektbyfaith
Administrator
0
10-28-2023, 05:42 PM
#32
Archived author: sudlud • Posted: 2023-10-28T17:42:29.690000+00:00
Original source

Creature could overwrite getRace() to return getDisplayRace()
rektbyfaith
10-28-2023, 05:42 PM #32

Archived author: sudlud • Posted: 2023-10-28T17:42:29.690000+00:00
Original source

Creature could overwrite getRace() to return getDisplayRace()

rektbyfaith
Administrator
0
10-28-2023, 05:42 PM
#33
Archived author: Natrist • Posted: 2023-10-28T17:42:43.541000+00:00
Original source

Yeah, that could work
rektbyfaith
10-28-2023, 05:42 PM #33

Archived author: Natrist • Posted: 2023-10-28T17:42:43.541000+00:00
Original source

Yeah, that could work

rektbyfaith
Administrator
0
10-28-2023, 05:44 PM
#34
Archived author: Natrist • Posted: 2023-10-28T17:44:49.298000+00:00
Original source

Also personally I would capitalize the first letter of the function. I’m not sure if AC has any standard for code style…
rektbyfaith
10-28-2023, 05:44 PM #34

Archived author: Natrist • Posted: 2023-10-28T17:44:49.298000+00:00
Original source

Also personally I would capitalize the first letter of the function. I’m not sure if AC has any standard for code style…

rektbyfaith
Administrator
0
10-28-2023, 05:45 PM
#35
Archived author: Natrist • Posted: 2023-10-28T17:45:58.116000+00:00
Original source

It helps differentiating functions from variables. The same goes for constants being in all uppercase letters.
rektbyfaith
10-28-2023, 05:45 PM #35

Archived author: Natrist • Posted: 2023-10-28T17:45:58.116000+00:00
Original source

It helps differentiating functions from variables. The same goes for constants being in all uppercase letters.

rektbyfaith
Administrator
0
10-28-2023, 05:49 PM
#36
Archived author: sudlud • Posted: 2023-10-28T17:49:36.606000+00:00
Original source

Yes that’s correct
rektbyfaith
10-28-2023, 05:49 PM #36

Archived author: sudlud • Posted: 2023-10-28T17:49:36.606000+00:00
Original source

Yes that’s correct

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