Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] I wanted to ask if anyone knows how I should write this:

[DiscordArchive] I wanted to ask if anyone knows how I should write this:

[DiscordArchive] I wanted to ask if anyone knows how I should write this:

rektbyfaith
Administrator
0
03-17-2025, 06:59 PM
#1
Archived author: I ᴼᶯᶥᵏᵃᶥ ™ I ꒪꒳꒪ • Posted: 2025-03-17T18:59:48.964000+00:00
Original source

I wanted to ask if anyone knows how I should write this:
void OnPlayedTime(Player* player, uint32 timePlayed) override;
To get that person's time played, I'm basically getting an error saying OnPlayedTime isn't spelled correctly. If not, how should it be? I've been looking at https://www.azerothcore.org/doxygen/ for several days now, but I can't find the solution. Does anyone know?
rektbyfaith
03-17-2025, 06:59 PM #1

Archived author: I ᴼᶯᶥᵏᵃᶥ ™ I ꒪꒳꒪ • Posted: 2025-03-17T18:59:48.964000+00:00
Original source

I wanted to ask if anyone knows how I should write this:
void OnPlayedTime(Player* player, uint32 timePlayed) override;
To get that person's time played, I'm basically getting an error saying OnPlayedTime isn't spelled correctly. If not, how should it be? I've been looking at https://www.azerothcore.org/doxygen/ for several days now, but I can't find the solution. Does anyone know?

rektbyfaith
Administrator
0
03-17-2025, 07:01 PM
#2
Archived author: Kitzunu • Posted: 2025-03-17T19:01:00.233000+00:00
Original source

there isnt a function named that
rektbyfaith
03-17-2025, 07:01 PM #2

Archived author: Kitzunu • Posted: 2025-03-17T19:01:00.233000+00:00
Original source

there isnt a function named that

rektbyfaith
Administrator
0
03-17-2025, 07:02 PM
#3
Archived author: I ᴼᶯᶥᵏᵃᶥ ™ I ꒪꒳꒪ • Posted: 2025-03-17T19:02:29.681000+00:00
Original source

I thought it was like this..
So there is no way to get that person's playing time?
rektbyfaith
03-17-2025, 07:02 PM #3

Archived author: I ᴼᶯᶥᵏᵃᶥ ™ I ꒪꒳꒪ • Posted: 2025-03-17T19:02:29.681000+00:00
Original source

I thought it was like this..
So there is no way to get that person's playing time?

rektbyfaith
Administrator
0
03-17-2025, 07:02 PM
#4
Archived author: Kitzunu • Posted: 2025-03-17T19:02:58.980000+00:00
Original source

yeah, give me a second
rektbyfaith
03-17-2025, 07:02 PM #4

Archived author: Kitzunu • Posted: 2025-03-17T19:02:58.980000+00:00
Original source

yeah, give me a second

rektbyfaith
Administrator
0
03-17-2025, 07:03 PM
#5
Archived author: I ᴼᶯᶥᵏᵃᶥ ™ I ꒪꒳꒪ • Posted: 2025-03-17T19:03:06.565000+00:00
Original source

thank u !
rektbyfaith
03-17-2025, 07:03 PM #5

Archived author: I ᴼᶯᶥᵏᵃᶥ ™ I ꒪꒳꒪ • Posted: 2025-03-17T19:03:06.565000+00:00
Original source

thank u !

rektbyfaith
Administrator
0
03-17-2025, 07:04 PM
#6
Archived author: Kitzunu • Posted: 2025-03-17T19:04:49.946000+00:00
Original source

player->GetTotalPlayedTime()
rektbyfaith
03-17-2025, 07:04 PM #6

Archived author: Kitzunu • Posted: 2025-03-17T19:04:49.946000+00:00
Original source

player->GetTotalPlayedTime()

rektbyfaith
Administrator
0
03-17-2025, 07:05 PM
#7
Archived author: Kitzunu • Posted: 2025-03-17T19:05:09.420000+00:00
Original source

or GetLevelPlayedTime()
rektbyfaith
03-17-2025, 07:05 PM #7

Archived author: Kitzunu • Posted: 2025-03-17T19:05:09.420000+00:00
Original source

or GetLevelPlayedTime()

rektbyfaith
Administrator
0
03-17-2025, 07:05 PM
#8
Archived author: Kitzunu • Posted: 2025-03-17T19:05:16.093000+00:00
Original source

depending what you are after
rektbyfaith
03-17-2025, 07:05 PM #8

Archived author: Kitzunu • Posted: 2025-03-17T19:05:16.093000+00:00
Original source

depending what you are after

Recently Browsing
 
Recently Browsing