[DiscordArchive] how can I get the AccountId of a player? without using GetSession() when the player is offline?
[DiscordArchive] how can I get the AccountId of a player? without using GetSession() when the player is offline?
Archived author: Helias • Posted: 2022-05-26T14:16:03.433000+00:00
Original source
how can I get the AccountId of a player? without using GetSession() when the player is offline?
Archived author: Kitzunu • Posted: 2022-05-26T14:18:28.201000+00:00
Original source
I dont know if that is possible? I can at least not find a place where we don't call GetSession
Archived author: Kitzunu • Posted: 2022-05-26T14:18:41.534000+00:00
Original source
or at least have the session at hand
Archived author: Kitzunu • Posted: 2022-05-26T14:18:54.589000+00:00
Original source
perhaps you can directly query the database
Archived author: Helias • Posted: 2022-05-26T14:19:01.081000+00:00
Original source
ok
Archived author: Nyeriah • Posted: 2022-05-26T14:19:28.263000+00:00
Original source
there's a cache
Archived author: Nyeriah • Posted: 2022-05-26T14:19:31.850000+00:00
Original source
character cache
Archived author: Helias • Posted: 2022-05-26T14:19:33.881000+00:00
Original source
ok, is there a fast way to check by guid if a player is online?
Archived author: Kitzunu • Posted: 2022-05-26T14:19:34.737000+00:00
Original source
you have AccountMgr::GetId()
Archived author: Kitzunu • Posted: 2022-05-26T14:19:47.519000+00:00
Original source
but I think that takes account name