[DiscordArchive] Hello. I am trying to run the authserver for the first time to populate the database, but it's tryin
[DiscordArchive] Hello. I am trying to run the authserver for the first time to populate the database, but it's tryin
Archived author: BreakingBeaker • Posted: 2024-03-29T19:52:21.692000+00:00
Original source
Oh I did take a look a GroupReference briefly in the docs, I didn't think about using GetFirstMember() like that. I'll whip it up quickly.
Archived author: Honey • Posted: 2024-03-29T19:52:46.762000+00:00
Original source
There's always the doxygen for a quick check:
https://www.azerothcore.org/pages/doxyge...09109.html
Archived author: Honey • Posted: 2024-03-29T19:54:42.597000+00:00
Original source
That exists btw as a void:
https://www.azerothcore.org/pages/doxyge...7154b2f53f
Archived author: Revision • Posted: 2024-03-29T19:55:17.878000+00:00
Original source
Oh, DoForAllMembers
Archived author: Honey • Posted: 2024-03-29T19:56:07.227000+00:00
Original source
The method names of the wow emulators are mysterious sometimes.
Archived author: Revision • Posted: 2024-03-29T19:56:27.547000+00:00
Original source
I have absolutely no idea what `std::function<void(Player*)> const& worker` implies though
Archived author: Revision • Posted: 2024-03-29T19:57:03.327000+00:00
Original source
Or how you even use it to get their level etc. The name of the function suggests that it does something on the characters, not get values **from** the members
Archived author: Honey • Posted: 2024-03-29T19:57:13.199000+00:00
Original source
it'll iterate over the group members and pass each member to a void
Archived author: Honey • Posted: 2024-03-29T19:57:27.300000+00:00
Original source
`worker` will be the player objects
Archived author: Revision • Posted: 2024-03-29T19:59:15.466000+00:00
Original source
I would think based on the code shown above that it would be better to just use the for loop as it is, but what do I know.