[DiscordArchive] can you tell me a little more about it?
[DiscordArchive] can you tell me a little more about it?
Archived author: William Von Kha • Posted: 2023-01-07T15:34:21.113000+00:00
Original source
can you tell me a little more about it?
In my script file can I use a hook?
Archived author: William Von Kha • Posted: 2023-01-07T15:34:25.407000+00:00
Original source
ha
Archived author: jackpoz • Posted: 2023-01-07T15:34:30.283000+00:00
Original source
called in void WorldSession::HandlePlayerLogin(LoginQueryHolder const& holder)
Archived author: jackpoz • Posted: 2023-01-07T15:34:53.878000+00:00
Original source
OnLogin(Player* player, bool firstLogin)
Archived author: jackpoz • Posted: 2023-01-07T15:35:06.357000+00:00
Original source
PlayerScript should be the base class
Archived author: jackpoz • Posted: 2023-01-07T15:36:54.746000+00:00
Original source
check src\server\game\DungeonFinding\LFGScripts.cpp for reference on how to write a PlayerScript and use the OnLogin and OnLogout hooks
Archived author: jackpoz • Posted: 2023-01-07T15:37:40.472000+00:00
Original source
(it seems the hook is OnLogin, not OnPlayerLogin)
Archived author: William Von Kha • Posted: 2023-01-07T15:37:41.772000+00:00
Original source
Ho tanks a lot , i will check it