Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] can some1 explain this to me ?

[DiscordArchive] can some1 explain this to me ?

[DiscordArchive] can some1 explain this to me ?

Pages (4): Previous 1 2 3 4 Next
rektbyfaith
Administrator
0
05-05-2023, 04:52 AM
#11
Archived author: Anchy • Posted: 2023-05-05T04:52:35.449000+00:00
Original source

to be honest that function doesnt need to exist if its just a wrapper over GetLevel
rektbyfaith
05-05-2023, 04:52 AM #11

Archived author: Anchy • Posted: 2023-05-05T04:52:35.449000+00:00
Original source

to be honest that function doesnt need to exist if its just a wrapper over GetLevel

rektbyfaith
Administrator
0
05-05-2023, 04:53 AM
#12
Archived author: Anchy • Posted: 2023-05-05T04:53:23.250000+00:00
Original source

but it looks like the code is different depending on the context of the target
rektbyfaith
05-05-2023, 04:53 AM #12

Archived author: Anchy • Posted: 2023-05-05T04:53:23.250000+00:00
Original source

but it looks like the code is different depending on the context of the target

rektbyfaith
Administrator
0
05-05-2023, 04:54 AM
#13
Archived author: Anchy • Posted: 2023-05-05T04:54:11.214000+00:00
Original source

where is this code located
rektbyfaith
05-05-2023, 04:54 AM #13

Archived author: Anchy • Posted: 2023-05-05T04:54:11.214000+00:00
Original source

where is this code located

rektbyfaith
Administrator
0
05-05-2023, 04:54 AM
#14
Archived author: Rymercyble • Posted: 2023-05-05T04:54:15.422000+00:00
Original source

`uint8 getLevelForTarget(WorldObject const* /*target*/) const override { return GetLevel(); }` u know when i saw that unused parameter it finished me
rektbyfaith
05-05-2023, 04:54 AM #14

Archived author: Rymercyble • Posted: 2023-05-05T04:54:15.422000+00:00
Original source

`uint8 getLevelForTarget(WorldObject const* /*target*/) const override { return GetLevel(); }` u know when i saw that unused parameter it finished me

rektbyfaith
Administrator
0
05-05-2023, 04:54 AM
#15
Archived author: Rymercyble • Posted: 2023-05-05T04:54:33.690000+00:00
Original source

https://github.com/azerothcore/azerothco....cpp#L3309
rektbyfaith
05-05-2023, 04:54 AM #15

Archived author: Rymercyble • Posted: 2023-05-05T04:54:33.690000+00:00
Original source

https://github.com/azerothcore/azerothco....cpp#L3309

rektbyfaith
Administrator
0
05-05-2023, 04:55 AM
#16
Archived author: Anchy • Posted: 2023-05-05T04:55:13.804000+00:00
Original source

ah I see, it's in kind of a generic use case
rektbyfaith
05-05-2023, 04:55 AM #16

Archived author: Anchy • Posted: 2023-05-05T04:55:13.804000+00:00
Original source

ah I see, it's in kind of a generic use case

rektbyfaith
Administrator
0
05-05-2023, 04:55 AM
#17
Archived author: Anchy • Posted: 2023-05-05T04:55:21.247000+00:00
Original source

so in this case it makes sense instead of calling GetLevel directly
rektbyfaith
05-05-2023, 04:55 AM #17

Archived author: Anchy • Posted: 2023-05-05T04:55:21.247000+00:00
Original source

so in this case it makes sense instead of calling GetLevel directly

rektbyfaith
Administrator
0
05-05-2023, 04:55 AM
#18
Archived author: Anchy • Posted: 2023-05-05T04:55:47.243000+00:00
Original source

but I agree the naming is not great
rektbyfaith
05-05-2023, 04:55 AM #18

Archived author: Anchy • Posted: 2023-05-05T04:55:47.243000+00:00
Original source

but I agree the naming is not great

rektbyfaith
Administrator
0
05-05-2023, 04:55 AM
#19
Archived author: Anchy • Posted: 2023-05-05T04:55:47.787000+00:00
Original source

lol
rektbyfaith
05-05-2023, 04:55 AM #19

Archived author: Anchy • Posted: 2023-05-05T04:55:47.787000+00:00
Original source

lol

rektbyfaith
Administrator
0
05-05-2023, 04:57 AM
#20
Archived author: Rymercyble • Posted: 2023-05-05T04:57:44.511000+00:00
Original source

what u wrote here would just work fine so using weird wrapper and saving it to variable with wrong name is just bad
rektbyfaith
05-05-2023, 04:57 AM #20

Archived author: Rymercyble • Posted: 2023-05-05T04:57:44.511000+00:00
Original source

what u wrote here would just work fine so using weird wrapper and saving it to variable with wrong name is just bad

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