[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:
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?
Archived author: Kitzunu • Posted: 2025-03-17T19:01:00.233000+00:00
Original source
there isnt a function named that
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?
Archived author: Kitzunu • Posted: 2025-03-17T19:02:58.980000+00:00
Original source
yeah, give me a second
Archived author: I ᴼᶯᶥᵏᵃᶥ ™ I ꒪꒳꒪ • Posted: 2025-03-17T19:03:06.565000+00:00
Original source
thank u !
Archived author: Kitzunu • Posted: 2025-03-17T19:04:49.946000+00:00
Original source
player->GetTotalPlayedTime()
Archived author: Kitzunu • Posted: 2025-03-17T19:05:09.420000+00:00
Original source
or GetLevelPlayedTime()
Archived author: Kitzunu • Posted: 2025-03-17T19:05:16.093000+00:00
Original source
depending what you are after